org.jboss.ejb3.injection
Class InjectionInvocation

java.lang.Object
  extended by org.jboss.aop.joinpoint.InvocationBase
      extended by org.jboss.ejb3.injection.InjectionInvocation
All Implemented Interfaces:
Serializable, org.jboss.aop.joinpoint.Invocation, org.jboss.ejb3.interceptors.container.InjectionInvocation

public class InjectionInvocation
extends org.jboss.aop.joinpoint.InvocationBase
implements org.jboss.ejb3.interceptors.container.InjectionInvocation

Perform injection via an interceptor chain. This should be part of ejb3-interceptors.

Version:
$Revision: $
Author:
Carlo de Wolf
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.aop.joinpoint.InvocationBase
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject
 
Constructor Summary
InjectionInvocation(BeanContext<?> ctx, Injector injector, org.jboss.aop.advice.Interceptor[] interceptors)
           
 
Method Summary
 org.jboss.aop.joinpoint.Invocation copy()
           
 org.jboss.aop.joinpoint.Invocation getWrapper(org.jboss.aop.advice.Interceptor[] newchain)
           
 Object invokeNext()
           
 Object invokeTarget()
           
 
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
 

Constructor Detail

InjectionInvocation

public InjectionInvocation(BeanContext<?> ctx,
                           Injector injector,
                           org.jboss.aop.advice.Interceptor[] interceptors)
Method Detail

copy

public org.jboss.aop.joinpoint.Invocation copy()
Specified by:
copy in interface org.jboss.aop.joinpoint.Invocation

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 Object invokeNext()
                  throws Throwable
Specified by:
invokeNext in interface org.jboss.aop.joinpoint.Invocation
Overrides:
invokeNext in class org.jboss.aop.joinpoint.InvocationBase
Throws:
Throwable

invokeTarget

public Object invokeTarget()
                    throws Throwable
Specified by:
invokeTarget in interface org.jboss.aop.joinpoint.Invocation
Overrides:
invokeTarget in class org.jboss.aop.joinpoint.InvocationBase
Throws:
Throwable


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.