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

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

public class LifecycleInterceptorInvocationContext<T>
extends Object
implements javax.interceptor.InvocationContext

InvocationContext for lifecycle methods like @PostConstruct, etc.


Constructor Summary
LifecycleInterceptorInvocationContext(T target, javax.enterprise.inject.spi.InterceptionType type, List<javax.enterprise.inject.spi.Interceptor<?>> interceptors, Map<javax.enterprise.inject.spi.Interceptor<?>,?> instances, List<javax.enterprise.inject.spi.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,
                                             javax.enterprise.inject.spi.InterceptionType type,
                                             List<javax.enterprise.inject.spi.Interceptor<?>> interceptors,
                                             Map<javax.enterprise.inject.spi.Interceptor<?>,?> instances,
                                             List<javax.enterprise.inject.spi.AnnotatedMethod<?>> lifecycleMethods)
Method Detail

getTarget

public T getTarget()
Specified by:
getTarget in interface javax.interceptor.InvocationContext

getContextData

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

setContextData

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

proceed

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

getMethod

public Method getMethod()
Specified by:
getMethod in interface javax.interceptor.InvocationContext

getParameters

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

setParameters

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

getTimer

public Object getTimer()
Specified by:
getTimer in interface javax.interceptor.InvocationContext

getConstructor

public Constructor getConstructor()
Specified by:
getConstructor in interface javax.interceptor.InvocationContext


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