| java.lang.Object de.danet.an.workflow.ejbs.util.ApplInvokerEJB
ApplInvokerEJB | public class ApplInvokerEJB implements MessageDrivenBean,MessageListener(Code) | | This class provides the message driven bean that handles tool
invocations.
The following diagram provides an overview of the invocation.
Setting log level to DEBUG will additionally output
the stack traces for the issued warning messages.
author: Michael N. Lipp version: $Revision: 1.15 $ |
Method Summary | |
public static void | doInvoke(WorkflowEngineLocal wfe, QueuerLocal aeq, Activity act, ExtApplication appl, Map params, boolean useNew) Execute a tool invocation using the map retrieved from the
queue. | public void | ejbCreate() Called by container to create EJB. | public void | ejbRemove() Called by container to remove EJB. | public void | onMessage(Message message) Called by container when a new message is to be processed. | public void | setMessageDrivenContext(MessageDrivenContext context) Called by container to set context. |
doInvoke | public static void doInvoke(WorkflowEngineLocal wfe, QueuerLocal aeq, Activity act, ExtApplication appl, Map params, boolean useNew) throws RemoteException(Code) | | Execute a tool invocation using the map retrieved from the
queue. Is also called from
EventHandlerEJBEventHandlerEJB . Note that caller must have
"java:comp/env/ejb/WorkflowEngine " in its
environment.
Parameters: wfe - the workflow engine Parameters: aeq - used to queue problem events from synchronous invocation Parameters: act - the activity Parameters: appl - the application Parameters: params - the invocation arguments Parameters: useNew - if true new transactions are used toset the activity result throws: RemoteException - if a system-level error occurs. |
ejbCreate | public void ejbCreate()(Code) | | Called by container to create EJB.
|
ejbRemove | public void ejbRemove()(Code) | | Called by container to remove EJB.
|
onMessage | public void onMessage(Message message)(Code) | | Called by container when a new message is to be processed.
Parameters: message - the message. |
setMessageDrivenContext | public void setMessageDrivenContext(MessageDrivenContext context)(Code) | | Called by container to set context.
Parameters: context - the context. |
|
|