|
|||||||||||
| 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 InvocationgetMetaData in class ConstructorCalledByMethodInvocation
public Object invokeNext()
throws Throwable
ConstructorCalledByMethodInvocation
invokeNext in interface InvocationinvokeNext in class ConstructorCalledByMethodInvocationThrowablepublic MetaDataResolver getInstanceResolver()
getInstanceResolver in class InvocationBasepublic Class getCallingClass()
getCallingClass in class ConstructorCalledByMethodInvocationpublic Method getCallingMethod()
getCallingMethod in class ConstructorCalledByMethodInvocationpublic Constructor getCalledConstructor()
getCalledConstructor in class ConstructorCalledByMethodInvocationpublic boolean isWrapped()
ConstructorCalledByMethodInvocation
isWrapped in class ConstructorCalledByMethodInvocationpublic Method getWrappingMethod()
ConstructorCalledByMethodInvocation
getWrappingMethod in class ConstructorCalledByMethodInvocationpublic Invocation copy()
ConstructorCalledByMethodInvocation
copy in interface Invocationcopy in class ConstructorCalledByMethodInvocationpublic Advisor getAdvisor()
getAdvisor in interface InvocationgetAdvisor in class InvocationBasepublic Object getTargetObject()
getTargetObject in interface InvocationgetTargetObject in class InvocationBasepublic void setTargetObject(Object targetObject)
setTargetObject in interface InvocationsetTargetObject in class InvocationBasepublic Map getResponseContextInfo()
getResponseContextInfo in interface InvocationgetResponseContextInfo in class InvocationBasepublic void setResponseContextInfo(Map responseContextInfo)
setResponseContextInfo in interface InvocationsetResponseContextInfo in class InvocationBase
public void addResponseAttachment(Object key,
Object val)
addResponseAttachment in interface InvocationaddResponseAttachment in class InvocationBasepublic Object getResponseAttachment(Object key)
getResponseAttachment in interface InvocationgetResponseAttachment in class InvocationBasepublic SimpleMetaData getMetaData()
InvocationBase
getMetaData in interface InvocationgetMetaData in class InvocationBasepublic void setMetaData(SimpleMetaData data)
InvocationBase
setMetaData in interface InvocationsetMetaData in class InvocationBasepublic Object[] getArguments()
getArguments in class ConstructorCalledByMethodInvocationpublic void setArguments(Object[] arguments)
ConstructorCalledByMethodInvocation
setArguments in class ConstructorCalledByMethodInvocationarguments - public Object getCallingObject()
getCallingObject in class ConstructorCalledByMethodInvocation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||