public class AvalonInterceptorContextImpl extends java.lang.Object implements AvalonInterceptorContext
| Constructor and Description |
|---|
AvalonInterceptorContextImpl(java.lang.String serviceName,
java.lang.String serviceShorthand,
java.lang.Object serviceDelegate,
java.lang.reflect.Method method,
java.lang.Object[] args)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
toString() |
public AvalonInterceptorContextImpl(java.lang.String serviceName,
java.lang.String serviceShorthand,
java.lang.Object serviceDelegate,
java.lang.reflect.Method method,
java.lang.Object[] args)
serviceName - the name of the service being interceptedserviceShorthand - the shorthand of the service being interceptedserviceDelegate - the real service implementationmethod - the method being invokedargs - the list of arguments for the method invocationpublic final java.util.Map getRequestContext()
getRequestContext in interface AvalonInterceptorContextpublic final java.lang.Object getServiceDelegate()
getServiceDelegate in interface AvalonInterceptorContextpublic final java.lang.String getServiceName()
getServiceName in interface AvalonInterceptorContextpublic java.lang.String getServiceShorthand()
getServiceShorthand in interface AvalonInterceptorContextpublic final java.lang.Object[] getArgs()
getArgs in interface AvalonInterceptorContextpublic final java.lang.reflect.Method getMethod()
getMethod in interface AvalonInterceptorContextpublic final ThreadLocalStorage getThreadContext()
getThreadContext in interface AvalonInterceptorContextpublic boolean hasTransactionId()
hasTransactionId in interface AvalonInterceptorContextpublic java.lang.Object getTransactionId()
getTransactionId in interface AvalonInterceptorContextpublic void setTransactionId(java.lang.Object transactionId)
setTransactionId in interface AvalonInterceptorContexttransactionId - the transaction idpublic void clearTransactionId()
clearTransactionId in interface AvalonInterceptorContextpublic void incrementInvocationDepth()
incrementInvocationDepth in interface AvalonInterceptorContextpublic void decrementInvocationDepth()
decrementInvocationDepth in interface AvalonInterceptorContextpublic int getInvocationDepth()
getInvocationDepth in interface AvalonInterceptorContextpublic final java.lang.Long getInvocationId()
getInvocationId in interface AvalonInterceptorContextpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.