|
Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory 11g Release 2 (11.1.2.2.0) E38583-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedPlugin
This interface defines a managed plugin. Plugins must implement this interface and provide a public sole constructor (no argument).
Method Summary | |
---|---|
void |
finalizePlugin() This method is called when this plugin is stopped. |
java.lang.String |
getVersion() Returns the version of the plugin Api expected by this plugin. |
void |
handleConfigurationChange(PluginConfiguration configuration) This method is called each time the configuration of this plugin is changed. |
void |
initializePlugin(PluginConfiguration configuration, PluginContext context) This method is called when this plugin is initialized. |
Methods inherited from interface oracle.oud.plugin.Plugin |
---|
getName |
Methods inherited from interface oracle.oud.RequestManager |
---|
handleAdd, handleBind, handleCompare, handleDelete, handleExtended, handleModify, handleModifyDN, handleSearch |
Method Detail |
---|
void initializePlugin(PluginConfiguration configuration, PluginContext context) throws PluginException
configuration
- the configuration of this plugin.context
- the context of this pluginPluginException
- when the plugin failed to initialize successfully.void finalizePlugin()
void handleConfigurationChange(PluginConfiguration configuration) throws PluginException
configuration
- the configuration of the plugin.PluginException
- if the new configuration can not be applied.java.lang.String getVersion()
This method attempts to read the file named "plugin.properties" embedded in the jar file that contained this plugin class and located at the root. If that file exists, the value associated to the key plugin.<plugin-name>.version
is returned if that key exists.
Otherwise, the value associated to the key plugin.version
is returned.
If the properties file could not be read or if none of the keys described above is found then null
is returned.
If null
is returned, this means that this plugin does not expect a particular behavior of the plugin Api.
In case this plugin expects a particular behavior of the plugin Api, the version of the server at time this plugin was built must be returned.
The version of the server is returned by the command 'start-ds -V'
.
The plugin Api was released in version "11.1.2.1.0".
|
Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory 11g Release 2 (11.1.2.2.0) E38583-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |