org.apache.webbeans.intercept
Class LifecycleInterceptorInvocationContext<T>

java.lang.Object
  extended by org.apache.webbeans.intercept.LifecycleInterceptorInvocationContext<T>
All Implemented Interfaces:
InvocationContext

public class LifecycleInterceptorInvocationContext<T>
extends Object
implements InvocationContext

InvocationContext for lifecycle methods like @PostConstruct, etc.


Constructor Summary
LifecycleInterceptorInvocationContext(T target, InterceptionType type, List<Interceptor<?>> interceptors, Map<Interceptor<?>,?> instances, List<AnnotatedMethod<?>> lifecycleMethods)
           
 
Method Summary
 Constructor getConstructor()
           
 Map<String,Object> getContextData()
           
 Method getMethod()
           
 Object[] getParameters()
           
 T getTarget()
           
 Object getTimer()
           
 Object proceed()
           
 void setContextData(Map<String,Object> contextData)
           
 void setParameters(Object[] parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleInterceptorInvocationContext

public LifecycleInterceptorInvocationContext(T target,
                                             InterceptionType type,
                                             List<Interceptor<?>> interceptors,
                                             Map<Interceptor<?>,?> instances,
                                             List<AnnotatedMethod<?>> lifecycleMethods)
Method Detail

getTarget

public T getTarget()
Specified by:
getTarget in interface InvocationContext

getContextData

public Map<String,Object> getContextData()
Specified by:
getContextData in interface InvocationContext

setContextData

public void setContextData(Map<String,Object> contextData)

proceed

public Object proceed()
               throws Exception
Specified by:
proceed in interface InvocationContext
Throws:
Exception

getMethod

public Method getMethod()
Specified by:
getMethod in interface InvocationContext

getParameters

public Object[] getParameters()
Specified by:
getParameters in interface InvocationContext

setParameters

public void setParameters(Object[] parameters)
Specified by:
setParameters in interface InvocationContext

getTimer

public Object getTimer()
Specified by:
getTimer in interface InvocationContext

getConstructor

public Constructor getConstructor()


Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.