|
|||||||||
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.ThrottlingInterceptor
public class ThrottlingInterceptor
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.InterceptorEvent |
Constructor Summary | |
---|---|
ThrottlingInterceptor()
|
Method Summary | |
---|---|
void |
onNewInstanceInvoked(MessageExchangeInterceptor.InterceptorEvent 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, onPartnerInvoked, onProcessInvoked |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThrottlingInterceptor()
Method Detail |
---|
public void onNewInstanceInvoked(MessageExchangeInterceptor.InterceptorEvent ic) throws FailMessageExchangeException
MessageExchangeInterceptor
onNewInstanceInvoked
in interface MessageExchangeInterceptor
onNewInstanceInvoked
in class NoOpInterceptor
FailMessageExchangeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |