|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.bpel.intercept.NoOpInterceptor
org.apache.ode.bpel.intercept.ProcessCountThrottler
public class ProcessCountThrottler
An example of a simple interceptor providing a "throttling" capability - that is an ability to limit the size of processes created in a server.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.ode.bpel.intercept.MessageExchangeInterceptor |
---|
MessageExchangeInterceptor.InterceptorContext |
Constructor Summary | |
---|---|
ProcessCountThrottler()
|
Method Summary | |
---|---|
void |
onJobScheduled(MyRoleMessageExchange mex,
MessageExchangeInterceptor.InterceptorContext ic)
Called when the message is scheduled, before any attempt to invoke the BPEL server is made. |
Methods inherited from class org.apache.ode.bpel.intercept.NoOpInterceptor |
---|
onBpelServerInvoked, onNewInstanceInvoked, onPartnerInvoked, onProcessInvoked |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessCountThrottler()
Method Detail |
---|
public void onJobScheduled(MyRoleMessageExchange mex, MessageExchangeInterceptor.InterceptorContext ic) throws FailMessageExchangeException, FaultMessageExchangeException
MessageExchangeInterceptor
onJobScheduled
in interface MessageExchangeInterceptor
onJobScheduled
in class NoOpInterceptor
mex
- message exchange
FailMessageExchangeException
FaultMessageExchangeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |