|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Manages WebLogic Process Integrator plugins. The plugin manager provides design-time and run-time support to the design client and workflow enactment service. It is responsible for providing meta-data about the combined capabilities of all deployed plugins, access to plugin-supplied design-time and run-time components, and handling event notifications to and from plugins.
PluginManagerCfg
Method Summary | |
void |
addInstanceListener(Plugin plugin,
int mask)
Deprecated. Call PluginManagerCfg.addInstanceListener(com.bea.wlpi.server.plugin.Plugin, int) . The
cluster-wide plugin manager state is pinned to a single server in the
cluster. |
void |
addTaskListener(Plugin plugin,
int mask)
Deprecated. Call PluginManagerCfg.addTaskListener(com.bea.wlpi.server.plugin.Plugin, int) . The
cluster-wide plugin manager state is pinned to a single server in the
cluster. |
void |
addTemplateDefinitionListener(Plugin plugin,
int mask)
Deprecated. Call PluginManagerCfg.addTemplateDefinitionListener(com.bea.wlpi.server.plugin.Plugin, int) .
The cluster-wide plugin manager state is pinned to a single server in
the cluster. |
void |
addTemplateListener(Plugin plugin,
int mask)
Deprecated. Call PluginManagerCfg.addTemplateListener(com.bea.wlpi.server.plugin.Plugin, int) . The
cluster-wide plugin manager state is pinned to a single server in the
cluster. |
java.lang.Class |
classForName(java.lang.String pluginName,
java.lang.String className)
Return a plugin-defined class. |
CategoryInfo[] |
getActionInfo(java.util.Locale lc)
Return a consolidated list of all actions and action categories. |
DoneInfo[] |
getDoneInfo(java.util.Locale lc)
Return a list of plugin-defined done node types. |
EventHandlerInfo[] |
getEventHandlerInfo(java.util.Locale lc)
Return a list of plugin-defined event handlers. |
EventInfo[] |
getEventInfo(java.util.Locale lc)
Return a list of plugin-defined event node types. |
FieldInfo[] |
getFieldInfo(java.util.Locale lc)
Return a list of plugin-defined field types. |
VersionInfo |
getFrameworkVersion()
Return the Plugin Framework version. |
FunctionInfo[] |
getFunctionInfo(java.util.Locale lc)
Return a consolidated list of all evaluator functions. |
HelpSetInfo[] |
getHelpSetInfo(java.util.Locale lc)
Return a list of plugin-defined help sets. |
InfoObject |
getInfoObject(java.lang.String pluginName,
int type,
int ID,
java.util.Locale lc)
Return a localized plugin InfoObject by its ID. |
PluginInfo |
getPlugin(java.lang.String pluginName,
java.util.Locale lc)
Return localized basic information about a plugin. |
ConfigurationData |
getPluginConfiguration(java.lang.String pluginName,
VersionInfo version)
Return a plugin's configuration data. |
java.lang.Object |
getPluginObject(java.lang.String pluginName,
int type,
int ID,
int key,
java.util.Locale lc)
Return a localized instance of a plugin-defined class. |
java.lang.Object |
getPluginObject(java.lang.String pluginName,
int type,
java.util.Locale lc)
Return a plugin-supplied object. |
java.lang.Object |
getPluginObject(java.lang.String pluginName,
java.lang.String className,
java.util.Locale lc)
Return a localized instance of a plugin-defined class. |
PluginInfo[] |
getPlugins(java.util.Locale lc)
Return a list of installed plugins. |
StartInfo[] |
getStartInfo(java.util.Locale lc)
Return a list of plugin-defined start node types. |
TemplateDefinitionPropertiesInfo[] |
getTemplateDefinitionInfo(java.util.Locale lc)
Return a list of plugin-defined template definition property types. |
TemplatePropertiesInfo[] |
getTemplateInfo(java.util.Locale lc)
Return a list of plugin-defined template property types. |
VariableTypeInfo[] |
getVariableTypeInfo(java.util.Locale lc)
Return a list of plugin-defined variable types. |
boolean |
isLoaded(java.lang.String pluginName,
VersionInfo version)
Indicates whether the specified plugin is loaded. |
void |
onEvent(com.bea.wlpi.server.eventprocessor.EventData eventData)
Process an event. |
void |
refresh()
Deprecated. Call PluginManagerCfg.refresh() . The cluster-wide
plugin manager state is pinned to a single server in the cluster. |
void |
removeInstanceListener(Plugin plugin)
Deprecated. Call PluginManagerCfg.removeInstanceListener(com.bea.wlpi.server.plugin.Plugin) . The
cluster-wide plugin manager state is pinned to a single server in the
cluster. |
void |
removeTaskListener(Plugin plugin)
Deprecated. Call PluginManagerCfg.removeTaskListener(com.bea.wlpi.server.plugin.Plugin) . The
cluster-wide plugin manager state is pinned to a single server in the
cluster. |
void |
removeTemplateDefinitionListener(Plugin plugin)
Deprecated. Call PluginManagerCfg.removeTemplateDefinitionListener(com.bea.wlpi.server.plugin.Plugin) . The
cluster-wide plugin manager state is pinned to a single server in the
cluster. |
void |
removeTemplateListener(Plugin plugin)
Deprecated. Call PluginManagerCfg.removeTemplateListener(com.bea.wlpi.server.plugin.Plugin) . The
cluster-wide plugin manager state is pinned to a single server in the
cluster. |
void |
stateChanged(java.lang.Object pms)
Notify a server of a plugin manager cluster-wide state change. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public void stateChanged(java.lang.Object pms) throws java.rmi.RemoteException
PluginManager
interface, which is
deployed on all slave servers. This method must not be called by
plugins.
pms
- The plugin manager's cluster-wide state.public boolean isLoaded(java.lang.String pluginName, VersionInfo version) throws java.rmi.RemoteException, WorkflowException
pluginName
- The reverse-DNS plugin name.version
- The plugin version required.true
if the plugin is loaded.public ConfigurationData getPluginConfiguration(java.lang.String pluginName, VersionInfo version) throws java.rmi.RemoteException, WorkflowException
pluginName
- The reverse-DNS plugin name.version
- The plugin version required.PluginManagerCfg.setPluginConfiguration(java.lang.String, com.bea.wlpi.common.VersionInfo, int, java.lang.String)
public VersionInfo getFrameworkVersion() throws java.rmi.RemoteException
public PluginInfo[] getPlugins(java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
lc
- Locale in which to localize display strings.public PluginInfo getPlugin(java.lang.String pluginName, java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
pluginName
- The reverse-DNS plugin name.lc
- Locale in which to localize display strings.public CategoryInfo[] getActionInfo(java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
lc
- The locale in which to localize display strings.public DoneInfo[] getDoneInfo(java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
lc
- The locale in which to localize display strings.public EventInfo[] getEventInfo(java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
lc
- The locale in which to localize display strings.public EventHandlerInfo[] getEventHandlerInfo(java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
lc
- The locale in which to localize display strings.public FieldInfo[] getFieldInfo(java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
lc
- The locale in which to localize display strings.public FunctionInfo[] getFunctionInfo(java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
lc
- The locale in which to localize display strings.public HelpSetInfo[] getHelpSetInfo(java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
lc
- The locale in which to localize the help sets.public StartInfo[] getStartInfo(java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
lc
- The locale in which to localize display strings.public TemplatePropertiesInfo[] getTemplateInfo(java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
lc
- The locale in which to localize display strings.public TemplateDefinitionPropertiesInfo[] getTemplateDefinitionInfo(java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
lc
- The locale in which to localize display strings.public VariableTypeInfo[] getVariableTypeInfo(java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
lc
- The locale in which to localize display strings.public InfoObject getInfoObject(java.lang.String pluginName, int type, int ID, java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
InfoObject
by its ID.
pluginName
- The reverse-DNS plugin name.type
- The type of info object to retrieve:
PluginConstants.TYPE_ACTION_INFO
,
PluginConstants.TYPE_TEMPLATE_PROPERTIES_INFO
,
PluginConstants.TYPE_TEMPLATE_DEFINITION_PROPERTIES_INFO
,
PluginConstants.TYPE_START_INFO
,
PluginConstants.TYPE_DONE_INFO
,
PluginConstants.TYPE_EVENT_INFO
,
PluginConstants.TYPE_EVENT_HANDLER_INFO
,
PluginConstants.TYPE_FIELD_INFO
,
PluginConstants.TYPE_FUNCTION_INFO
or
PluginConstants.TYPE_VARIABLE_TYPE_INFO
.ID
- The plugin-supplied ID for the required info object.lc
- The locale in which to localize display strings.public java.lang.Class classForName(java.lang.String pluginName, java.lang.String className) throws java.rmi.RemoteException, java.lang.ClassNotFoundException, WorkflowException
pluginName
- The reverse-DNS plugin name.className
- The fully qualified Java class name of the
plugin-defined object to return.getPluginObject(String, String, Locale)
,
getPluginObject(String, int, int, int, Locale)
public java.lang.Object getPluginObject(java.lang.String pluginName, java.lang.String className, java.util.Locale lc) throws java.rmi.RemoteException, java.lang.ClassNotFoundException, WorkflowException
pluginName
- The reverse-DNS plugin name.className
- The fully qualified Java class name of the
plugin-defined object to return.lc
- The locale in which to localize display strings.classForName(java.lang.String, java.lang.String)
,
getPluginObject(String, int, int, int, Locale)
public java.lang.Object getPluginObject(java.lang.String pluginName, int type, java.util.Locale lc) throws java.rmi.RemoteException, WorkflowException
XxxInfo
object. Examples include the
Help Set.
pluginName
- The reverse-DNS plugin name.type
- The type of object to retrieve:
PluginConstants.TYPE_HELP_SET_INFO
.lc
- The locale in which to localize the object.public java.lang.Object getPluginObject(java.lang.String pluginName, int type, int ID, int key, java.util.Locale lc) throws java.rmi.RemoteException, java.lang.ClassNotFoundException, WorkflowException
pluginName
- The reverse-DNS plugin name.type
- The type of info object to retrieve:
PluginConstants.TYPE_ACTION_INFO
,
PluginConstants.TYPE_CONFIGURATION_INFO
,
PluginConstants.TYPE_TEMPLATE_PROPERTIES_INFO
,
PluginConstants.TYPE_TEMPLATE_DEFINITION_PROPERTIES_INFO
,
PluginConstants.TYPE_START_INFO
,
PluginConstants.TYPE_DONE_INFO
,
PluginConstants.TYPE_EVENT_INFO
,
PluginConstants.TYPE_EVENT_HANDLER_INFO
,
PluginConstants.TYPE_FIELD_INFO
,
PluginConstants.TYPE_FUNCTION_INFO
or
PluginConstants.TYPE_VARIABLE_TYPE_INFO
.ID
- The plugin-supplied ID for the required InfoObject
.key
- A key value to indicate which plugin-supplied class
to instantiate. Valid key values are declared in the corresponding
InfoObject
subclasses.lc
- The locale in which to localize display strings.classForName(java.lang.String, java.lang.String)
,
getPluginObject(String, String, Locale)
public void onEvent(com.bea.wlpi.server.eventprocessor.EventData eventData) throws java.rmi.RemoteException, WorkflowException
eventData
- The event datum, including optional addressing and
processing information.public void refresh() throws java.rmi.RemoteException, WorkflowException
PluginManagerCfg.refresh()
. The cluster-wide
plugin manager state is pinned to a single server in the cluster.
public void addTemplateListener(Plugin plugin, int mask) throws java.rmi.RemoteException
PluginManagerCfg.addTemplateListener(com.bea.wlpi.server.plugin.Plugin, int)
. The
cluster-wide plugin manager state is pinned to a single server in the
cluster.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
PluginManagerCfg.removeTemplateListener(com.bea.wlpi.server.plugin.Plugin)
. The
cluster-wide plugin manager state is pinned to a single server in the
cluster.TemplateNotification
listener.
plugin
- The plugin to unregister.public void addTemplateDefinitionListener(Plugin plugin, int mask) throws java.rmi.RemoteException
PluginManagerCfg.addTemplateDefinitionListener(com.bea.wlpi.server.plugin.Plugin, int)
.
The cluster-wide plugin manager state is pinned to a single server in
the cluster.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
PluginManagerCfg.removeTemplateDefinitionListener(com.bea.wlpi.server.plugin.Plugin)
. The
cluster-wide plugin manager state is pinned to a single server in the
cluster.TemplateDefinitionNotification
listener.
plugin
- The plugin to unregister.public void addInstanceListener(Plugin plugin, int mask) throws java.rmi.RemoteException
PluginManagerCfg.addInstanceListener(com.bea.wlpi.server.plugin.Plugin, int)
. The
cluster-wide plugin manager state is pinned to a single server in the
cluster.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
PluginManagerCfg.removeInstanceListener(com.bea.wlpi.server.plugin.Plugin)
. The
cluster-wide plugin manager state is pinned to a single server in the
cluster.InstanceNotification
listener.
plugin
- The plugin to unregister.public void addTaskListener(Plugin plugin, int mask) throws java.rmi.RemoteException
PluginManagerCfg.addTaskListener(com.bea.wlpi.server.plugin.Plugin, int)
. The
cluster-wide plugin manager state is pinned to a single server in the
cluster.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
PluginManagerCfg.removeTaskListener(com.bea.wlpi.server.plugin.Plugin)
. The
cluster-wide plugin manager state is pinned to a single server in the
cluster.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 |