|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BpelServer
Interface implemented by the BPEL server. Provides methods for life-cycle management and process invocation.
Method Summary | |
---|---|
MyRoleMessageExchange |
createMessageExchange(InvocationStyle istyle,
javax.xml.namespace.QName serviceId,
java.lang.String operation,
java.lang.String foreignKey)
Create a "my role" message exchange for invoking a BPEL process. |
MessageExchange |
getMessageExchange(java.lang.String mexId)
Retrieve a message identified by the given identifer. |
MessageExchange |
getMessageExchangeByForeignKey(java.lang.String foreignKey)
|
java.util.Set<InvocationStyle> |
getSupportedInvocationStyle(javax.xml.namespace.QName serviceId)
Inquire of the engine the invocation styles that are supported for a given service. |
void |
init()
Initialize the BPEL engine. |
void |
register(ProcessConf conf)
Register a process with the server. |
void |
setBindingContext(BindingContext bindingContext)
Configure the with a binding context. |
void |
setEndpointReferenceContext(EndpointReferenceContext eprContext)
Configure the with an endpoint-reference (EPR) context. |
void |
setMessageExchangeContext(MessageExchangeContext mexContext)
Configure the with a message-exchange context. |
void |
setScheduler(Scheduler scheduler)
Configure the with a scheduler. |
void |
shutdown()
Called to shutdown the BPEL egnine. |
void |
start()
Start the BPEL engine. |
void |
stop()
Stop the BPEL engine: results in the cessation of process execution. |
void |
unregister(javax.xml.namespace.QName pid)
Unregister a process from the server. |
Method Detail |
---|
void setMessageExchangeContext(MessageExchangeContext mexContext) throws BpelEngineException
mexContext
- MessageExchangeContext
implementation
BpelEngineException
MessageExchangeContext
void setScheduler(Scheduler scheduler) throws BpelEngineException
BpelEngineException
void setEndpointReferenceContext(EndpointReferenceContext eprContext) throws BpelEngineException
eprContext
- EndpointReferenceContext
implementation
BpelEngineException
EndpointReferenceContext
void setBindingContext(BindingContext bindingContext) throws BpelEngineException
bindingContext
- BindingContext
implementation
BpelEngineException
BindingContext
void init() throws BpelEngineException
BpelEngineException
void start() throws BpelEngineException
BpelEngineException
void stop() throws BpelEngineException
BpelEngineException
void shutdown() throws BpelEngineException
BpelEngineException
void register(ProcessConf conf) throws BpelEngineException
pid
- process to register
BpelEngineException
void unregister(javax.xml.namespace.QName pid) throws BpelEngineException
pid
- process to unregister
BpelEngineException
java.util.Set<InvocationStyle> getSupportedInvocationStyle(javax.xml.namespace.QName serviceId)
serviceId
- service identifier
InvocationStyle
sMyRoleMessageExchange createMessageExchange(InvocationStyle istyle, javax.xml.namespace.QName serviceId, java.lang.String operation, java.lang.String foreignKey) throws BpelEngineException
serviceId
- the service id of the process being called, if knownoperation
- name of the operation
MyRoleMessageExchange
the newly created message exchange
BpelEngineException
MessageExchange getMessageExchange(java.lang.String mexId) throws BpelEngineException
mexId
- message exhcange identifier
BpelEngineException
MessageExchange getMessageExchangeByForeignKey(java.lang.String foreignKey) throws BpelEngineException
BpelEngineException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |