|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Manages WebLogic Process Integrator plug-ins. The plug-in 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 plug-ins, access to plug-in supplied design-time and run-time components, and handling event notifications to and from plug-ins.
PluginManagerCfg| Method Summary | |
void |
addInstanceListener(Plugin plugin,
int mask)
Register a specific plug-in as an InstanceNotification listener. |
void |
addTaskListener(Plugin plugin,
int mask)
Register a specific plug-in as a TaskNotification listener. |
void |
addTemplateDefinitionListener(Plugin plugin,
int mask)
Register a specific plug-in as a TemplateDefinitionNotification
listener. |
void |
addTemplateListener(Plugin plugin,
int mask)
Register a specific plug-in as a TemplateNotification listener. |
java.lang.Class |
classForName(java.lang.String pluginName,
java.lang.String className)
Return a plug-in 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 plug-in defined done node types. |
EventHandlerInfo[] |
getEventHandlerInfo(java.util.Locale lc)
Return a list of plug-in defined event handlers. |
EventInfo[] |
getEventInfo(java.util.Locale lc)
Return a list of plug-in defined event node types. |
FieldInfo[] |
getFieldInfo(java.util.Locale lc)
Return a list of plug-in defined field types. |
VersionInfo |
getFrameworkVersion()
Return the Plug-in 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 plug-in defined help sets. |
InfoObject |
getInfoObject(java.lang.String pluginName,
int type,
int ID,
java.util.Locale lc)
Return a localized plug-in InfoObject by its ID. |
PluginInfo |
getPlugin(java.lang.String pluginName,
java.util.Locale lc)
Return localized basic information about a plug-in. |
ConfigurationData |
getPluginConfiguration(java.lang.String pluginName,
VersionInfo version)
Return a plug-in'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 plug-in defined class. |
java.lang.Object |
getPluginObject(java.lang.String pluginName,
int type,
java.util.Locale lc)
Return a plug-in supplied object. |
java.lang.Object |
getPluginObject(java.lang.String pluginName,
java.lang.String className,
java.util.Locale lc)
Return a localized instance of a plug-in defined class. |
PluginInfo[] |
getPlugins(java.util.Locale lc)
Return a list of installed plug-ins. |
StartInfo[] |
getStartInfo(java.util.Locale lc)
Return a list of plug-in defined start node types. |
TemplateDefinitionPropertiesInfo[] |
getTemplateDefinitionInfo(java.util.Locale lc)
Return a list of plug-in defined template definition property types. |
TemplatePropertiesInfo[] |
getTemplateInfo(java.util.Locale lc)
Return a list of plug-in defined template property types. |
VariableTypeInfo[] |
getVariableTypeInfo(java.util.Locale lc)
Return a list of plug-in defined variable types. |
boolean |
isLoaded(java.lang.String pluginName,
VersionInfo version)
Indicates whether the specified plug-in is loaded. |
void |
onEvent(EventData eventData)
Process an event. |
void |
removeInstanceListener(Plugin plugin)
Unregister a specific plug-in as an InstanceNotification listener. |
void |
removeTaskListener(Plugin plugin)
Unregister a specific plug-in as a TaskNotification listener. |
void |
removeTemplateDefinitionListener(Plugin plugin)
Unregister a specific plug-in as a TemplateDefinitionNotification listener. |
void |
removeTemplateListener(Plugin plugin)
Unregister a specific plug-in as a TemplateNotification listener. |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
| Method Detail |
public boolean isLoaded(java.lang.String pluginName,
VersionInfo version)
throws java.rmi.RemoteException,
WorkflowException
pluginName - The reverse-DNS plug-in name.version - The plug-in version required.true if the plug-in is loaded.
public ConfigurationData getPluginConfiguration(java.lang.String pluginName,
VersionInfo version)
throws java.rmi.RemoteException,
WorkflowException
pluginName - The reverse-DNS plug-in name.version - The plug-in 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 plug-in 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.
This method is idempotent.
pluginName - The reverse-DNS plug-in 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 plug-in 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 plug-in name.className - The fully qualified Java class name of the
plug-in 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 plug-in name.className - The fully qualified Java class name of the
plug-in 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.
This method is idempotent.
pluginName - The reverse-DNS plug-in 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 plug-in 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 plug-in supplied ID for the required InfoObject.key - A key value to indicate which plug-in 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(EventData eventData)
throws java.rmi.RemoteException,
WorkflowException
eventData - The event datum, including optional addressing and
processing information.
public void addTemplateListener(Plugin plugin,
int mask)
throws java.rmi.RemoteException
TemplateNotification listener.
This method is idempotent.
plugin - The plug-in 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.
This method is idempotent.
plugin - The plug-in to unregister.
public void addTemplateDefinitionListener(Plugin plugin,
int mask)
throws java.rmi.RemoteException
TemplateDefinitionNotification
listener. This method is idempotent.
plugin - The plug-in 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.
This method is idempotent.
plugin - The plug-in to unregister.
public void addInstanceListener(Plugin plugin,
int mask)
throws java.rmi.RemoteException
InstanceNotification listener.
This method is idempotent.
plugin - The plug-in 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.
This method is idempotent.
plugin - The plug-in to unregister.
public void addTaskListener(Plugin plugin,
int mask)
throws java.rmi.RemoteException
TaskNotification listener.
This method is idempotent.
plugin - The plug-in 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.
This method is idempotent.
plugin - The plug-in to register.
|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||