|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.aop.joinpoint.InvocationBase
org.jboss.aop.joinpoint.CallerInvocation
org.jboss.aop.joinpoint.ConstructorCalledByMethodInvocation
org.jboss.aop.joinpoint.ConstructorCalledByMethodInvocationWrapper
Comment
Field Summary |
Fields inherited from class org.jboss.aop.joinpoint.ConstructorCalledByMethodInvocation |
arguments, callingClass, callingMethod, callingMethodHash, callingObject, info |
Fields inherited from class org.jboss.aop.joinpoint.InvocationBase |
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject |
Constructor Summary | |
ConstructorCalledByMethodInvocationWrapper(ConstructorCalledByMethodInvocation wrapped,
Interceptor[] interceptors)
|
Method Summary | |
void |
addResponseAttachment(Object key,
Object val)
|
Invocation |
copy()
Copies complete state of Invocation object. |
Advisor |
getAdvisor()
|
Object[] |
getArguments()
|
Constructor |
getCalledConstructor()
|
Class |
getCallingClass()
|
Method |
getCallingMethod()
|
Object |
getCallingObject()
|
MetaDataResolver |
getInstanceResolver()
|
SimpleMetaData |
getMetaData()
Return all the contextual data attached to this invocation |
Object |
getMetaData(Object group,
Object attr)
This method resolves metadata based on the context of the invocation. |
Object |
getResponseAttachment(Object key)
|
Map |
getResponseContextInfo()
|
Object |
getTargetObject()
|
Method |
getWrappingMethod()
Is the called constructor aspectized? If so then this method returns the method that wraps the constructor. |
Object |
invokeNext()
Invoke on the next interceptor in the chain. |
boolean |
isWrapped()
Is the called constructor aspectized? If so then there is a wrapping method that must be called. |
void |
setArguments(Object[] arguments)
change the arguments to the called constructor |
void |
setMetaData(SimpleMetaData data)
Set all the contextual data attached to this invocation |
void |
setResponseContextInfo(Map responseContextInfo)
|
void |
setTargetObject(Object targetObject)
|
Methods inherited from class org.jboss.aop.joinpoint.ConstructorCalledByMethodInvocation |
getWrapper |
Methods inherited from class org.jboss.aop.joinpoint.InvocationBase |
getCurrentInterceptor, getInterceptors, invokeNext, resolveAnnotation, resolveAnnotation, resolveClassAnnotation, resolveClassMetaData, setAdvisor, setInstanceResolver |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConstructorCalledByMethodInvocationWrapper(ConstructorCalledByMethodInvocation wrapped, Interceptor[] interceptors)
Method Detail |
public Object getMetaData(Object group, Object attr)
ConstructorCalledByMethodInvocation
getMetaData
in interface Invocation
getMetaData
in class ConstructorCalledByMethodInvocation
public Object invokeNext() throws Throwable
ConstructorCalledByMethodInvocation
invokeNext
in interface Invocation
invokeNext
in class ConstructorCalledByMethodInvocation
Throwable
public MetaDataResolver getInstanceResolver()
getInstanceResolver
in class InvocationBase
public Class getCallingClass()
getCallingClass
in class ConstructorCalledByMethodInvocation
public Method getCallingMethod()
getCallingMethod
in class ConstructorCalledByMethodInvocation
public Constructor getCalledConstructor()
getCalledConstructor
in class ConstructorCalledByMethodInvocation
public boolean isWrapped()
ConstructorCalledByMethodInvocation
isWrapped
in class ConstructorCalledByMethodInvocation
public Method getWrappingMethod()
ConstructorCalledByMethodInvocation
getWrappingMethod
in class ConstructorCalledByMethodInvocation
public Invocation copy()
ConstructorCalledByMethodInvocation
copy
in interface Invocation
copy
in class ConstructorCalledByMethodInvocation
public Advisor getAdvisor()
getAdvisor
in interface Invocation
getAdvisor
in class InvocationBase
public Object getTargetObject()
getTargetObject
in interface Invocation
getTargetObject
in class InvocationBase
public void setTargetObject(Object targetObject)
setTargetObject
in interface Invocation
setTargetObject
in class InvocationBase
public Map getResponseContextInfo()
getResponseContextInfo
in interface Invocation
getResponseContextInfo
in class InvocationBase
public void setResponseContextInfo(Map responseContextInfo)
setResponseContextInfo
in interface Invocation
setResponseContextInfo
in class InvocationBase
public void addResponseAttachment(Object key, Object val)
addResponseAttachment
in interface Invocation
addResponseAttachment
in class InvocationBase
public Object getResponseAttachment(Object key)
getResponseAttachment
in interface Invocation
getResponseAttachment
in class InvocationBase
public SimpleMetaData getMetaData()
InvocationBase
getMetaData
in interface Invocation
getMetaData
in class InvocationBase
public void setMetaData(SimpleMetaData data)
InvocationBase
setMetaData
in interface Invocation
setMetaData
in class InvocationBase
public Object[] getArguments()
getArguments
in class ConstructorCalledByMethodInvocation
public void setArguments(Object[] arguments)
ConstructorCalledByMethodInvocation
setArguments
in class ConstructorCalledByMethodInvocation
arguments
- public Object getCallingObject()
getCallingObject
in class ConstructorCalledByMethodInvocation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |