|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ode.bpel.engine.BpelServerImpl
public class BpelServerImpl
The BPEL server implementation.
This implementation is intended to be thread safe. The key concurrency mechanism is a "management" read/write lock that synchronizes all management operations (they require "write" access) and prevents concurrent management operations and processing (processing requires "read" access). Write access to the lock is scoped to the method, while read access is scoped to a transaction.
| Nested Class Summary | |
|---|---|
static interface |
BpelServerImpl.ContextsAware
A polled runnable instance that implements this interface will be set with the contexts before the run() method is called. |
static class |
BpelServerImpl.PolledRunnableProcessor
This wraps up the executor service for polled runnables. |
| Field Summary | |
|---|---|
protected BpelDatabase |
_db
|
static java.lang.String |
DEFERRED_PROCESS_INSTANCE_CLEANUP_DISABLED_NAME
|
| Constructor Summary | |
|---|---|
BpelServerImpl()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFERRED_PROCESS_INSTANCE_CLEANUP_DISABLED_NAME
protected BpelDatabase _db
| Constructor Detail |
|---|
public BpelServerImpl()
| Method Detail |
|---|
public void setHazelcastInstance(com.hazelcast.core.HazelcastInstance instance)
public com.hazelcast.core.HazelcastInstance getHazelcastInstance()
public Contexts getContexts()
public void start()
start in interface BpelServerpublic void registerExternalVariableEngine(ExternalVariableModule eve)
public void registerBpelEventListener(BpelEventListener listener)
BpelEvents froom all
processes.
listener - public void unregisterBpelEventListener(BpelEventListener listener)
BpelEvents from all
processes.
listener - public void stop()
stop in interface BpelServer
public void init()
throws BpelEngineException
init in interface BpelServerBpelEngineExceptionprotected BpelEngineImpl createBpelEngineImpl(Contexts contexts)
public void shutdown()
throws BpelEngineException
shutdown in interface BpelServerBpelEngineExceptionpublic BpelEngine getEngine()
getEngine in interface BpelServerpublic BpelEngine getEngineUnsecured()
public void register(ProcessConf conf)
register in interface BpelServerprotected BpelProcess createBpelProcess(ProcessConf conf)
public void unregister(javax.xml.namespace.QName pid)
throws BpelEngineException
unregister in interface BpelServerBpelEngineExceptionpublic void registerMessageExchangeInterceptor(MessageExchangeInterceptor interceptor)
interceptor - message-exchange interceptorpublic void unregisterMessageExchangeInterceptor(MessageExchangeInterceptor interceptor)
interceptor - message-exchange interceptor
protected boolean deleteProcessDAO(javax.xml.namespace.QName pid,
boolean isInMemory)
public void onScheduledJob(Scheduler.JobInfo jobInfo)
throws Scheduler.JobProcessorException
onScheduledJob in interface Scheduler.JobProcessorScheduler.JobProcessorExceptionpublic void setDehydrationPolicy(DehydrationPolicy dehydrationPolicy)
public void setConfigProperties(java.util.Properties configProperties)
public void setMessageExchangeContext(MessageExchangeContext mexContext)
throws BpelEngineException
setMessageExchangeContext in interface BpelServerBpelEngineException
public void setScheduler(Scheduler scheduler)
throws BpelEngineException
setScheduler in interface BpelServerBpelEngineException
public void setCronScheduler(CronScheduler cronScheduler)
throws BpelEngineException
BpelEngineException
public void setEndpointReferenceContext(EndpointReferenceContext eprContext)
throws BpelEngineException
setEndpointReferenceContext in interface BpelServerBpelEngineException
public void setDaoConnectionFactory(BpelDAOConnectionFactory daoCF)
throws BpelEngineException
daoCF - BpelDAOConnectionFactory implementation.
BpelEngineExceptionpublic void setInMemDaoConnectionFactory(BpelDAOConnectionFactory daoCF)
public void setBindingContext(BindingContext bc)
setBindingContext in interface BpelServer
public DebuggerContext getDebugger(javax.xml.namespace.QName pid)
throws BpelEngineException
getDebugger in interface BpelServerBpelEngineExceptionpublic boolean hasActiveInstances(javax.xml.namespace.QName pid)
public void setHydrationLazy(boolean hydrationLazy)
public void setProcessThrottledMaximumSize(long hydrationThrottledMaximumSize)
public void setProcessThrottledMaximumCount(int hydrationThrottledMaximumCount)
public void setHydrationLazyMinimumSize(int hydrationLazyMinimumSize)
public void setInstanceThrottledMaximumCount(int instanceThrottledMaximumCount)
public BpelDatabase getBpelDb()
public void cleanupProcess(ProcessConf pconf)
throws BpelEngineException
cleanupProcess in interface BpelServerBpelEngineExceptionpublic void setMigrationTransactionTimeout(int migrationTransactionTimeout)
public void acquireTransactionLocks()
acquireTransactionLocks in interface BpelServerpublic void registerExtensionBundle(ExtensionBundleRuntime bundle)
public void unregisterExtensionBundle(java.lang.String nsURI)
public void registerExtensionCorrelationFilter(ExtensionCorrelationFilter filter)
public void unregisterExtensionCorrelationFilter(java.lang.String nsURI)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||