|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowModulePlugin
Interface representing an edge flow plugin in the edge server.
This interface defines methods that are required by the edge flow engine to instantiate, initialize, configure and startup an edge flow module. The sequence in which initialization/startup methods are called is:
An edge flow module implementation must have a no-args constructor to be instantiated from the engine.
Method Summary | |
---|---|
void |
configure(PluginConfig pluginConfig)
Configures the module with parameter values specifed by the user. |
ModuleDescriptor |
getModuleDescriptor()
Returns ModuleDescriptor for this module. |
String |
getName()
Returns the name of this module. |
void |
initialize(String name,
WorkflowManager workflowManager)
This method should take care of any initializations that should happen in the module before it is configured or started up. |
void |
receiveMessage(Object msg,
String portName)
Accepts a message to the specified port of this module. |
void |
shutdown()
Method that will be called by the edge flow engine when a module is deleted. |
void |
startup()
Statup functions in a module should happen in this method. |
Method Detail |
---|
String getName()
void initialize(String name, WorkflowManager workflowManager)
WorkflowManager
.
name
- Name of this module.workflowManager
- Reference to WorkflowManager that modules could use to get
to edge server servicesvoid configure(PluginConfig pluginConfig) throws PluginException
pluginConfig
- PluginConfig
containing this module's configuration information.
PluginException
- If an error occurs trying to configure the module.void startup()
void shutdown()
void receiveMessage(Object msg, String portName)
msg
- The message to this module.portName
- Name of the port to which this message is being sent.ModuleDescriptor getModuleDescriptor()
ModuleDescriptor
for this module. The module descriptor
contains information about the input and output ports of the module.
ModuleDescriptor
for this module.
|
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 |