|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.transport.AbstractConnector
org.mule.transport.bpm.ProcessConnector
public class ProcessConnector
The BPM provider allows Mule events to initiate and/or advance processes in an external or embedded Business Process Management System (BPMS). It also allows executing processes to generate Mule events.
| Field Summary | |
|---|---|
protected boolean |
allowGlobalReceiver
Deprecated. The global receiver allows an endpoint of type "bpm://*" to receive any incoming message to the BPMS, regardless of the process. |
protected BPMS |
bpms
Deprecated. The underlying BPMS |
static String |
GLOBAL_RECEIVER
Deprecated. |
protected String |
processIdField
Deprecated. This field will be used to correlate messages with processes. |
static String |
PROTOCOL
Deprecated. |
| Fields inherited from interface org.mule.api.transport.Connector |
|---|
INT_VALUE_NOT_SET |
| Fields inherited from interface org.mule.api.lifecycle.Disposable |
|---|
PHASE_NAME |
| Constructor Summary | |
|---|---|
ProcessConnector(MuleContext context)
Deprecated. |
|
| Method Summary | |
|---|---|
protected BPMS |
createBpms()
Deprecated. Override this method to create the BPMS upon initialization of the connector. |
protected void |
doConnect()
Deprecated. Template method where any connections should be made for the connector |
protected void |
doDisconnect()
Deprecated. Template method where any connected resources used by the connector should be disconnected |
protected void |
doDispose()
Deprecated. Template method to perform any work when destroying the connectoe |
protected void |
doInitialise()
Deprecated. |
protected void |
doStart()
Deprecated. Template method to perform any work when starting the connectoe |
protected void |
doStop()
Deprecated. Template method to perform any work when stopping the connectoe |
MuleMessage |
generateMessage(String endpoint,
Object payloadObject,
Map messageProperties,
MessageExchangePattern mep)
Deprecated. |
BPMS |
getBpms()
Deprecated. |
MuleClient |
getMuleClient()
Deprecated. |
String |
getProcessIdField()
Deprecated. |
String |
getProtocol()
Deprecated. |
boolean |
isAllowGlobalReceiver()
Deprecated. |
ProcessMessageReceiver |
lookupReceiver(String processName,
Object processId)
Deprecated. This method looks for a receiver based on the process name and ID. |
void |
setAllowGlobalReceiver(boolean allowGlobalReceiver)
Deprecated. |
void |
setBpms(BPMS bpms)
Deprecated. |
void |
setProcessIdField(String processIdField)
Deprecated. |
String |
toUrl(String processName,
Object processId)
Deprecated. Generate a URL based on the process name and ID such as "bpm://myProcess/2342" If the parameters are missing, and allowGlobalReceiver is true,
the GLOBAL_RECEIVER is returned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected BPMS bpms
protected String processIdField
protected boolean allowGlobalReceiver
public static final String PROTOCOL
public static final String GLOBAL_RECEIVER
| Constructor Detail |
|---|
public ProcessConnector(MuleContext context)
| Method Detail |
|---|
public String getProtocol()
getProtocol in interface Connector
protected void doInitialise()
throws InitialisationException
doInitialise in class AbstractConnectorInitialisationException
protected BPMS createBpms()
throws Exception
Exceptionprotected void doDispose()
AbstractConnector
doDispose in class AbstractConnector
protected void doConnect()
throws Exception
AbstractConnector
doConnect in class AbstractConnectorException
protected void doDisconnect()
throws Exception
AbstractConnector
doDisconnect in class AbstractConnectorException
protected void doStart()
throws MuleException
AbstractConnector
doStart in class AbstractConnectorMuleException - if the method fails
protected void doStop()
throws MuleException
AbstractConnector
doStop in class AbstractConnectorMuleException - if the method fails
public ProcessMessageReceiver lookupReceiver(String processName,
Object processId)
public String toUrl(String processName,
Object processId)
allowGlobalReceiver is true,
the GLOBAL_RECEIVER is returned.
public MuleMessage generateMessage(String endpoint,
Object payloadObject,
Map messageProperties,
MessageExchangePattern mep)
throws Exception
generateMessage in interface MessageServiceExceptionpublic BPMS getBpms()
public void setBpms(BPMS bpms)
public MuleClient getMuleClient()
public boolean isAllowGlobalReceiver()
public void setAllowGlobalReceiver(boolean allowGlobalReceiver)
public String getProcessIdField()
public void setProcessIdField(String processIdField)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||