Package org.apache.webbeans.intercept
Class ConstructorInterceptorInvocationContext<T>
- java.lang.Object
-
- org.apache.webbeans.intercept.AbstractInvocationContext<T>
-
- org.apache.webbeans.intercept.InterceptorInvocationContext<T>
-
- org.apache.webbeans.intercept.ConstructorInterceptorInvocationContext<T>
-
- All Implemented Interfaces:
jakarta.interceptor.InvocationContext
public class ConstructorInterceptorInvocationContext<T> extends InterceptorInvocationContext<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectnewInstance-
Fields inherited from class org.apache.webbeans.intercept.InterceptorInvocationContext
index, instances, interceptors, type
-
Fields inherited from class org.apache.webbeans.intercept.AbstractInvocationContext
parameters, target
-
-
Constructor Summary
Constructors Constructor Description ConstructorInterceptorInvocationContext(jakarta.inject.Provider<T> provider, List<jakarta.enterprise.inject.spi.Interceptor<?>> aroundConstructInterceptors, Map<jakarta.enterprise.inject.spi.Interceptor<?>,?> interceptorInstances, Constructor<T> cons, Object[] parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectdirectProceed()ObjectgetNewInstance()-
Methods inherited from class org.apache.webbeans.intercept.InterceptorInvocationContext
proceed
-
Methods inherited from class org.apache.webbeans.intercept.AbstractInvocationContext
getConstructor, getContextData, getMethod, getParameters, getTarget, getTimer, setParameters
-
-
-
-
Field Detail
-
newInstance
protected Object newInstance
-
-
Constructor Detail
-
ConstructorInterceptorInvocationContext
public ConstructorInterceptorInvocationContext(jakarta.inject.Provider<T> provider, List<jakarta.enterprise.inject.spi.Interceptor<?>> aroundConstructInterceptors, Map<jakarta.enterprise.inject.spi.Interceptor<?>,?> interceptorInstances, Constructor<T> cons, Object[] parameters)
-
-
Method Detail
-
getNewInstance
public Object getNewInstance()
-
directProceed
public Object directProceed() throws Exception
- Overrides:
directProceedin classAbstractInvocationContext<T>- Throws:
Exception
-
-