|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Configures WebLogic Process Integrator plugins. The plugin configuration manager is responsible for maintaining plugin configurations, and managing the plugin framework's cluster-wide state transitions. It also maintains lists of the plugins that have registered for various system event notifications.
PluginManager
Method Summary | |
void |
addInstanceListener(Plugin plugin,
int mask)
Register a specific plugin as an InstanceNotification listener. |
java.lang.Object |
addStateChangeListener(PluginManagerHome listener)
Register the home interface of a plugin manager deployed on a slave server. |
void |
addTaskListener(Plugin plugin,
int mask)
Register a specific plugin as a TaskNotification listener. |
void |
addTemplateDefinitionListener(Plugin plugin,
int mask)
Register a specific plugin as a TemplateDefinitionNotification
listener. |
void |
addTemplateListener(Plugin plugin,
int mask)
Register a specific plugin as a TemplateNotification listener. |
void |
deletePluginConfiguration(java.lang.String pluginName,
VersionInfo version)
Delete a plugin's configuration data. |
void |
exit()
Unload and deinitialize all plugins. |
java.lang.Object |
getState()
Retrieve the current plugin manager state. |
void |
init()
Load and initialize all plugins. |
void |
loadPlugin(java.lang.String pluginName,
VersionInfo version)
Load and initialize the specified plugin. |
void |
onPluginDeployed(Plugin plugin)
Notify the plugin manager that a plugin has been hot-deployed. |
void |
refresh()
Flush cached plugin capabilities information. |
void |
removeInstanceListener(Plugin plugin)
Unregister a specific plugin as an InstanceNotification listener. |
void |
removeTaskListener(Plugin plugin)
Unregister a specific plugin as a TaskNotification listener. |
void |
removeTemplateDefinitionListener(Plugin plugin)
Unregister a specific plugin as a TemplateDefinitionNotification listener. |
void |
removeTemplateListener(Plugin plugin)
Unregister a specific plugin as a TemplateNotification listener. |
void |
setPluginConfiguration(java.lang.String pluginName,
VersionInfo version,
int startMode,
java.lang.String config)
Set a plugin's configuration data. |
void |
unloadPlugin(java.lang.String pluginName,
VersionInfo version)
Unload and deinitialize specified plugin. |
Methods inherited from interface com.bea.wlpi.server.plugin.PluginManager |
classForName,
getActionInfo,
getDoneInfo,
getEventHandlerInfo,
getEventInfo,
getFieldInfo,
getFrameworkVersion,
getFunctionInfo,
getHelpSetInfo,
getInfoObject,
getPlugin,
getPluginConfiguration,
getPluginObject,
getPluginObject,
getPluginObject,
getPlugins,
getStartInfo,
getTemplateDefinitionInfo,
getTemplateInfo,
getVariableTypeInfo,
isLoaded,
onEvent,
stateChanged |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public java.lang.Object getState() throws java.rmi.RemoteException
public java.lang.Object addStateChangeListener(PluginManagerHome listener) throws java.rmi.RemoteException
public void init() throws java.rmi.RemoteException, WorkflowException
InitListener
message-driven EJB during server startup.
This method must not be called by plugins.
public void exit() throws java.rmi.RemoteException, WorkflowException
public void refresh() throws java.rmi.RemoteException, WorkflowException
public void loadPlugin(java.lang.String pluginName, VersionInfo version) throws java.rmi.RemoteException, WorkflowException
pluginName
- The reverse-DNS plugin name.version
- The plugin version required.public void unloadPlugin(java.lang.String pluginName, VersionInfo version) throws java.rmi.RemoteException, WorkflowException
pluginName
- The reverse-DNS plugin name.version
- The plugin version required.public void setPluginConfiguration(java.lang.String pluginName, VersionInfo version, int startMode, java.lang.String config) throws java.rmi.RemoteException, WorkflowException
pluginName
- The reverse-DNS plugin name.version
- The plugin version required.startMode
- Whether and when the plugin manager starts the plugin.
One of: PluginConstants.MODE_DISABLED
,
PluginConstants.MODE_AUTOMATIC
,
PluginConstants.MODE_MANUAL
.config
- The plugin configuration data as an XML document.PluginManager.getPluginConfiguration(java.lang.String, com.bea.wlpi.common.VersionInfo)
public void deletePluginConfiguration(java.lang.String pluginName, VersionInfo version) throws java.rmi.RemoteException, WorkflowException
pluginName
- The reverse-DNS plugin name.version
- The plugin version required.public void onPluginDeployed(Plugin plugin) throws java.rmi.RemoteException, WorkflowException
plugin
- The plugin that was deployed.public void addTemplateListener(Plugin plugin, int mask) throws java.rmi.RemoteException
TemplateNotification
listener.
plugin
- The plugin to register.mask
- Notifications for which to register. The value is formed
by performing a bitwise logical OR on any of the values:
PluginConstants.TEMPLATE_CREATED
,
PluginConstants.TEMPLATE_UPDATED
,
PluginConstants.TEMPLATE_DELETED
.PluginConstants.EVENT_NOTIFICATION_ALL
public void removeTemplateListener(Plugin plugin) throws java.rmi.RemoteException
TemplateNotification
listener.
plugin
- The plugin to unregister.public void addTemplateDefinitionListener(Plugin plugin, int mask) throws java.rmi.RemoteException
TemplateDefinitionNotification
listener.
plugin
- The plugin to register.mask
- Notifications for which to register. The value is formed
by performing a bitwise logical OR on any of the values:
PluginConstants.DEFINITION_CREATED
,
PluginConstants.DEFINITION_UPDATED
,
PluginConstants.DEFINITION_DELETED
.PluginConstants.EVENT_NOTIFICATION_ALL
public void removeTemplateDefinitionListener(Plugin plugin) throws java.rmi.RemoteException
TemplateDefinitionNotification
listener.
plugin
- The plugin to unregister.public void addInstanceListener(Plugin plugin, int mask) throws java.rmi.RemoteException
InstanceNotification
listener.
plugin
- The plugin to register.mask
- Notifications for which to register. The value is formed
by performing a bitwise logical OR on any of the values:
PluginConstants.INSTANCE_CREATED
,
PluginConstants.INSTANCE_COMPLETED
,
PluginConstants.INSTANCE_UPDATED
,
PluginConstants.INSTANCE_ABORTED
,
PluginConstants.INSTANCE_DELETED
.PluginConstants.EVENT_NOTIFICATION_ALL
public void removeInstanceListener(Plugin plugin) throws java.rmi.RemoteException
InstanceNotification
listener.
plugin
- The plugin to unregister.public void addTaskListener(Plugin plugin, int mask) throws java.rmi.RemoteException
TaskNotification
listener.
plugin
- The plugin to register.mask
- Notifications for which to register. The value is formed
by performing a bitwise logical OR on any of the values:
PluginConstants.TASK_STARTED
,
PluginConstants.TASK_EXECUTED
.
PluginConstants.TASK_COMPLETED
.
PluginConstants.TASK_UNMARKED_DONE
.
PluginConstants.TASK_OVERDUE
.
PluginConstants.TASK_ASSIGNED
.
PluginConstants.TASK_UNASSIGNED
.PluginConstants.EVENT_NOTIFICATION_ALL
public void removeTaskListener(Plugin plugin) throws java.rmi.RemoteException
TaskNotification
listener.
plugin
- The plugin to register.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |