|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.implementation.java.invocation.PolicyHandlingInterceptor
public class PolicyHandlingInterceptor
An interceptor to invoke policy handlers before and after the invocation of operations on an implementation.
Constructor Summary | |
---|---|
PolicyHandlingInterceptor(Operation targetOperation,
java.util.List<PolicyHandler> policyHandlers)
|
Method Summary | |
---|---|
Invoker |
getNext()
Returns the next invoker or null |
Message |
invoke(Message msg)
Process a synchronous wire |
void |
setNext(Invoker next)
Sets the next invoker |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolicyHandlingInterceptor(Operation targetOperation, java.util.List<PolicyHandler> policyHandlers)
Method Detail |
---|
public Message invoke(Message msg)
Invoker
invoke
in interface Invoker
msg
- The request Message for the wire
public void setNext(Invoker next)
Interceptor
setNext
in interface Interceptor
next
- The next invokerpublic Invoker getNext()
Interceptor
getNext
in interface Interceptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |