|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AvalonInterceptorContext
Contains context information for the interceptors being invoked. The class contains a request context which allows to store data from within an interceptor. It also provides access to a ThreadLocalStorage to associate data with the current thread.
Method Summary | |
---|---|
void |
clearTransactionId()
Clears the transaction id for the current thread. |
void |
decrementInvocationDepth()
Decrement the current service invocation depth |
java.lang.Object[] |
getArgs()
|
int |
getInvocationDepth()
Get the current service invocation depth |
java.lang.Long |
getInvocationId()
|
java.lang.reflect.Method |
getMethod()
|
java.util.Map |
getRequestContext()
|
java.lang.Object |
getServiceDelegate()
|
java.lang.String |
getServiceName()
|
java.lang.String |
getServiceShorthand()
|
ThreadLocalStorage |
getThreadContext()
|
java.lang.Object |
getTransactionId()
|
boolean |
hasTransactionId()
|
void |
incrementInvocationDepth()
Increment the current service invocation depth |
void |
setTransactionId(java.lang.Object transactionId)
Set the transaction id for the current thread. |
Method Detail |
---|
java.util.Map getRequestContext()
java.lang.Object getServiceDelegate()
java.lang.String getServiceName()
java.lang.String getServiceShorthand()
java.lang.Object[] getArgs()
java.lang.reflect.Method getMethod()
ThreadLocalStorage getThreadContext()
boolean hasTransactionId()
java.lang.Object getTransactionId()
void setTransactionId(java.lang.Object transactionId)
transactionId
- the transaction idvoid clearTransactionId()
void incrementInvocationDepth()
void decrementInvocationDepth()
int getInvocationDepth()
java.lang.Long getInvocationId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |