org.jboss.ejb3.injection
Class InjectionInvocation
java.lang.Object
org.jboss.aop.joinpoint.InvocationBase
org.jboss.ejb3.injection.InjectionInvocation
- All Implemented Interfaces:
- java.io.Serializable, org.jboss.aop.joinpoint.Invocation, EJBInvocation, org.jboss.ejb3.interceptors.container.InjectionInvocation
public class InjectionInvocation
- extends org.jboss.aop.joinpoint.InvocationBase
- implements EJBInvocation, org.jboss.ejb3.interceptors.container.InjectionInvocation
Perform injection via an interceptor chain.
This should be part of ejb3-interceptors.
- See Also:
- Serialized Form
| Fields inherited from class org.jboss.aop.joinpoint.InvocationBase |
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject |
| Methods inherited from class org.jboss.aop.joinpoint.InvocationBase |
addResponseAttachment, getAdvisor, getCurrentInterceptor, getInstanceResolver, getInterceptors, getMetaData, getMetaData, getResponseAttachment, getResponseContextInfo, getTargetObject, invokeNext, resolveAnnotation, resolveAnnotation, resolveClassAnnotation, resolveClassMetaData, resolveTypedAnnotation, resolveTypedAnnotation, resolveTypedClassAnnotation, setAdvisor, setInstanceResolver, setMetaData, setResponseContextInfo, setTargetObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.aop.joinpoint.Invocation |
addResponseAttachment, getAdvisor, getInterceptors, getMetaData, getMetaData, getResponseAttachment, getResponseContextInfo, getTargetObject, invokeNext, resolveAnnotation, resolveAnnotation, resolveClassAnnotation, resolveClassMetaData, resolveTypedAnnotation, resolveTypedAnnotation, resolveTypedClassAnnotation, setMetaData, setResponseContextInfo, setTargetObject |
InjectionInvocation
@Deprecated
public InjectionInvocation(BeanContext<?> ctx,
java.lang.Iterable<Injector> injectors,
org.jboss.aop.advice.Interceptor[] interceptors,
org.jboss.injection.manager.spi.InjectionManager injectionManager)
- Deprecated. Once InjectionManager is completely integrated, this constructor shouldn't be used.
Use
InjectionInvocation(BeanContext, InjectionManager, Interceptor[]) instead.
- Parameters:
ctx - injectors - interceptors - injectionManager -
InjectionInvocation
public InjectionInvocation(BeanContext<?> ctx,
org.jboss.injection.manager.spi.InjectionManager injectionManager,
org.jboss.aop.advice.Interceptor[] interceptors)
copy
public org.jboss.aop.joinpoint.Invocation copy()
- Specified by:
copy in interface org.jboss.aop.joinpoint.Invocation
getInvocationContext
public org.jboss.ejb3.context.spi.InvocationContext getInvocationContext()
- Specified by:
getInvocationContext in interface EJBInvocation
getWrapper
public org.jboss.aop.joinpoint.Invocation getWrapper(org.jboss.aop.advice.Interceptor[] newchain)
- Specified by:
getWrapper in interface org.jboss.aop.joinpoint.Invocation
invokeNext
public java.lang.Object invokeNext()
throws java.lang.Throwable
- Specified by:
invokeNext in interface org.jboss.aop.joinpoint.Invocation- Overrides:
invokeNext in class org.jboss.aop.joinpoint.InvocationBase
- Throws:
java.lang.Throwable
invokeTarget
public java.lang.Object invokeTarget()
throws java.lang.Throwable
- Specified by:
invokeTarget in interface org.jboss.aop.joinpoint.Invocation- Overrides:
invokeTarget in class org.jboss.aop.joinpoint.InvocationBase
- Throws:
java.lang.Throwable