|
|||||||||
| 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.InstanceCountThrottler
public class InstanceCountThrottler
An example of a simple interceptor providing a "throttling" capability - that is an ability to limit the number of instances created for a given process.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.ode.bpel.intercept.MessageExchangeInterceptor |
|---|
MessageExchangeInterceptor.InterceptorContext |
| Constructor Summary | |
|---|---|
InstanceCountThrottler()
|
|
| Method Summary | |
|---|---|
void |
onNewInstanceInvoked(org.apache.ode.bpel.iapi.MyRoleMessageExchange mex,
MessageExchangeInterceptor.InterceptorContext ic)
Called when the BPEL server is invoked, after the message exchange has been routed to the process and it has been determined that a new instance needs to be created. |
| Methods inherited from class org.apache.ode.bpel.intercept.NoOpInterceptor |
|---|
onBpelServerInvoked, onJobScheduled, onPartnerInvoked, onProcessInvoked |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceCountThrottler()
| Method Detail |
|---|
public void onNewInstanceInvoked(org.apache.ode.bpel.iapi.MyRoleMessageExchange mex,
MessageExchangeInterceptor.InterceptorContext ic)
throws FailMessageExchangeException
MessageExchangeInterceptor
onNewInstanceInvoked in interface MessageExchangeInterceptoronNewInstanceInvoked in class NoOpInterceptormex - message exchange
FailMessageExchangeException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||