|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.core.async.invocation.AsyncInterceptor
public class AsyncInterceptor
A wire interceptor that uses a WorkManager to schedule asynchronous execution of invocations in Work instances.
Constructor Summary | |
---|---|
AsyncInterceptor(javax.resource.spi.work.WorkManager workManager,
MessageFactory messageFactory)
Constructs a new instance |
Method Summary | |
---|---|
Message |
invoke(Message message)
Process a synchronous wire. |
void |
setNext(Interceptor next)
Sets the next interceptor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsyncInterceptor(javax.resource.spi.work.WorkManager workManager, MessageFactory messageFactory)
workManager
- Method Detail |
---|
public Message invoke(Message message)
Interceptor
invoke
in interface Interceptor
message
- the request Message for the wire
public void setNext(Interceptor next)
Interceptor
setNext
in interface Interceptor
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |