|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Plugin
Plugin is a functionality extention module.
Method Summary | |
---|---|
String |
getKind()
Returns the type of plugin - action, attribute etc. |
String |
getName()
Returns plugin name. |
Object |
getPlugin(String name)
Returns plugin with the specified name. |
PluginManager |
getPluginManager()
Gets plugin manager for this plugin. |
String |
getProperty(String name)
Gets the value of a plugin property with the specified name. |
String |
getProperty(String name,
String value)
Gets the value of a plugin property with the specified name or the specified default value if this property is not defined. |
String |
getPropertyName(String name)
Gets the name of a system property for the specified plugin property. |
String |
getVersion()
Returns plugin version. |
void |
init(PluginManager pm,
String name)
Links this plugin to the specified plugin manager. |
Method Detail |
---|
String getKind()
String getName()
String getVersion()
void init(PluginManager pm, String name)
pm
- The plugin manager to link plugin to.name
- The name of plugin.Object getPlugin(String name)
name
- The name of plugin.String getPropertyName(String name)
name
- The name of a plugin property.
String getProperty(String name)
name
- The name of a plugin property.
String getProperty(String name, String value)
name
- The name of a plugin property.value
- The default value of a property.
PluginManager getPluginManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |