|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface WorkflowNamingService
Interface to get to workflow related objects like workflow modules and serializers and deserializers for the different types.
This is typically instantiated and initialzed by the WorkflowManager.
This also extends com.connecterra.workflow.engine.api.WorkflowNamingService to support legacy workflow modules easily.
| Method Summary | |
|---|---|
Set |
listModules()
Lists the names of all the workflow modules known to this naming service. |
MessageSerializer |
lookupCollectionSerializer(Class collectionClazz,
Class clazz)
Looks up serializer for a given class and for the given collection type. |
MessageDeserializer |
lookupDeserializer(String rootName,
String namespace)
Looks up deserializer for the given namespace and xml root element name. |
WorkflowModulePlugin |
lookupModule(String name)
Looks up workflow module with the given name. |
MessageSerializer |
lookupSerializer(Class clazz)
Looks up serializer for a given class. |
void |
register(String moduleInstanceName,
Object moduleToBeRegistered)
Deprecated. This method is provided only because the naming service needs to support legacy modules as well in the short term. |
void |
registerDeserializer(MessageDeserializer deserializer)
Registers a deserializer with the naming service. |
void |
registerModule(WorkflowModulePlugin moduleToBeRegistered)
Registers a workflow module with the naming service. |
void |
registerSerializer(MessageSerializer serializer)
Registers the given serializer with the naming service. |
void |
unregister(String moduleInstanceName)
Unregisters a workflow module. |
void |
unregisterDeserializer(MessageDeserializer deserializer)
Unregisters deserializer from the naming service. |
void |
unregisterSerializer(MessageSerializer serializer)
Unregisters the given serializer from the naming service. |
| Methods inherited from interface com.connecterra.workflow.engine.api.WorkflowNamingService |
|---|
list, lookup |
| Method Detail |
|---|
void register(String moduleInstanceName,
Object moduleToBeRegistered)
moduleInstanceName - Name of the workflow module instance that is to be registered.moduleToBeRegistered - The workflow module that is to be registered. This must
be of type com.connecterra.workflow.engine.api.Module or
WorkflowModulePlugin.
IllegalArgumentException - If an object that is not of type
com.connecterra.workflow.engine.api.Module or
WorkflowModulePlugin is passed in.void registerModule(WorkflowModulePlugin moduleToBeRegistered)
moduleToBeRegistered - The workflow module that is to be registered.void unregister(String moduleInstanceName)
moduleInstanceName - Name of the workflow module instance that is to be unregisteredWorkflowModulePlugin lookupModule(String name)
name - Name of the module that is being looked up.
Set listModules()
void registerSerializer(MessageSerializer serializer)
serializer - Serializer that is to be registered with the service.void unregisterSerializer(MessageSerializer serializer)
serializer - The serializer that should be unregistered from the naming service.MessageSerializer lookupSerializer(Class clazz)
clazz - The Class for which serializer is to be found.
MessageSerializer for the given class. This will return null if there is
no serializer registered for that class.
MessageSerializer lookupCollectionSerializer(Class collectionClazz,
Class clazz)
collectionClazz - The collection class handled by the serializer.clazz - The Class for which serializer is to be looked up.
void registerDeserializer(MessageDeserializer deserializer)
deserializer - Deserializer that is to be registered.void unregisterDeserializer(MessageDeserializer deserializer)
deserializer - Deserializer that is to be unregistered.
MessageDeserializer lookupDeserializer(String rootName,
String namespace)
rootName - The name of the XML root elementnamespace - The namespace for the root. Use null if the root is in null namespace.
MessageDeserializer for the given namespace and xml root element name.
|
Documentation is available at ${DOCSWEBROOT} Copyright 2007 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||