|
||||||||||
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 java.lang.String |
GLOBAL_RECEIVER
Deprecated. |
protected java.lang.String |
processIdField
Deprecated. This field will be used to correlate messages with processes. |
static java.lang.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(java.lang.String endpoint,
java.lang.Object payloadObject,
java.util.Map messageProperties,
MessageExchangePattern mep)
Deprecated. |
BPMS |
getBpms()
Deprecated. |
MuleClient |
getMuleClient()
Deprecated. |
java.lang.String |
getProcessIdField()
Deprecated. |
java.lang.String |
getProtocol()
Deprecated. |
boolean |
isAllowGlobalReceiver()
Deprecated. |
ProcessMessageReceiver |
lookupReceiver(java.lang.String processName,
java.lang.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(java.lang.String processIdField)
Deprecated. |
java.lang.String |
toUrl(java.lang.String processName,
java.lang.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 java.lang.String processIdField
protected boolean allowGlobalReceiver
public static final java.lang.String PROTOCOL
public static final java.lang.String GLOBAL_RECEIVER
Constructor Detail |
---|
public ProcessConnector(MuleContext context)
Method Detail |
---|
public java.lang.String getProtocol()
getProtocol
in interface Connector
protected void doInitialise() throws InitialisationException
doInitialise
in class AbstractConnector
InitialisationException
protected BPMS createBpms() throws java.lang.Exception
java.lang.Exception
protected void doDispose()
AbstractConnector
doDispose
in class AbstractConnector
protected void doConnect() throws java.lang.Exception
AbstractConnector
doConnect
in class AbstractConnector
java.lang.Exception
protected void doDisconnect() throws java.lang.Exception
AbstractConnector
doDisconnect
in class AbstractConnector
java.lang.Exception
protected void doStart() throws MuleException
AbstractConnector
doStart
in class AbstractConnector
MuleException
- if the method failsprotected void doStop() throws MuleException
AbstractConnector
doStop
in class AbstractConnector
MuleException
- if the method failspublic ProcessMessageReceiver lookupReceiver(java.lang.String processName, java.lang.Object processId)
public java.lang.String toUrl(java.lang.String processName, java.lang.Object processId)
allowGlobalReceiver
is true,
the GLOBAL_RECEIVER is returned.
public MuleMessage generateMessage(java.lang.String endpoint, java.lang.Object payloadObject, java.util.Map messageProperties, MessageExchangePattern mep) throws java.lang.Exception
generateMessage
in interface MessageService
java.lang.Exception
public BPMS getBpms()
public void setBpms(BPMS bpms)
public MuleClient getMuleClient()
public boolean isAllowGlobalReceiver()
public void setAllowGlobalReceiver(boolean allowGlobalReceiver)
public java.lang.String getProcessIdField()
public void setProcessIdField(java.lang.String processIdField)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |