public class BuilderInterceptorBean extends Object implements Interceptor<BuilderInterceptorInstance>, Prioritized, PassivationCapable
| Constructor and Description |
|---|
BuilderInterceptorBean(Set<Annotation> interceptorBindings,
InterceptionType type,
int priority,
BeanManagerImpl beanManager,
java.util.function.BiFunction<javax.interceptor.InvocationContext,Bean<?>,Object> interceptorFunction) |
BuilderInterceptorBean(Set<Annotation> interceptorBindings,
InterceptionType type,
int priority,
BeanManagerImpl beanManager,
java.util.function.Function<javax.interceptor.InvocationContext,Object> interceptorFunction) |
| Modifier and Type | Method and Description |
|---|---|
BuilderInterceptorInstance |
create(CreationalContext<BuilderInterceptorInstance> creationalContext) |
void |
destroy(BuilderInterceptorInstance instance,
CreationalContext<BuilderInterceptorInstance> creationalContext) |
Class<?> |
getBeanClass() |
String |
getId() |
Set<InjectionPoint> |
getInjectionPoints() |
Set<Annotation> |
getInterceptorBindings() |
String |
getName() |
protected WeldCreationalContext<?> |
getParentCreationalContext(CreationalContext<BuilderInterceptorInstance> ctx) |
int |
getPriority() |
Set<Annotation> |
getQualifiers() |
Class<? extends Annotation> |
getScope() |
Set<Class<? extends Annotation>> |
getStereotypes() |
Set<Type> |
getTypes() |
Object |
intercept(InterceptionType type,
BuilderInterceptorInstance builderInterceptorInstance,
javax.interceptor.InvocationContext ctx) |
boolean |
intercepts(InterceptionType type) |
boolean |
isAlternative() |
boolean |
isNullable() |
public BuilderInterceptorBean(Set<Annotation> interceptorBindings, InterceptionType type, int priority, BeanManagerImpl beanManager, java.util.function.Function<javax.interceptor.InvocationContext,Object> interceptorFunction)
public BuilderInterceptorBean(Set<Annotation> interceptorBindings, InterceptionType type, int priority, BeanManagerImpl beanManager, java.util.function.BiFunction<javax.interceptor.InvocationContext,Bean<?>,Object> interceptorFunction)
public Set<Annotation> getInterceptorBindings()
getInterceptorBindings in interface Interceptor<BuilderInterceptorInstance>public boolean intercepts(InterceptionType type)
intercepts in interface Interceptor<BuilderInterceptorInstance>public Object intercept(InterceptionType type, BuilderInterceptorInstance builderInterceptorInstance, javax.interceptor.InvocationContext ctx) throws Exception
intercept in interface Interceptor<BuilderInterceptorInstance>Exceptionpublic Class<?> getBeanClass()
getBeanClass in interface Bean<BuilderInterceptorInstance>public Set<InjectionPoint> getInjectionPoints()
getInjectionPoints in interface Bean<BuilderInterceptorInstance>public boolean isNullable()
isNullable in interface Bean<BuilderInterceptorInstance>public Set<Type> getTypes()
getTypes in interface BeanAttributes<BuilderInterceptorInstance>public Set<Annotation> getQualifiers()
getQualifiers in interface BeanAttributes<BuilderInterceptorInstance>public Class<? extends Annotation> getScope()
getScope in interface BeanAttributes<BuilderInterceptorInstance>public String getName()
getName in interface BeanAttributes<BuilderInterceptorInstance>public Set<Class<? extends Annotation>> getStereotypes()
getStereotypes in interface BeanAttributes<BuilderInterceptorInstance>public boolean isAlternative()
isAlternative in interface BeanAttributes<BuilderInterceptorInstance>protected WeldCreationalContext<?> getParentCreationalContext(CreationalContext<BuilderInterceptorInstance> ctx)
public int getPriority()
getPriority in interface Prioritizedpublic BuilderInterceptorInstance create(CreationalContext<BuilderInterceptorInstance> creationalContext)
create in interface Contextual<BuilderInterceptorInstance>public void destroy(BuilderInterceptorInstance instance, CreationalContext<BuilderInterceptorInstance> creationalContext)
destroy in interface Contextual<BuilderInterceptorInstance>public String getId()
getId in interface PassivationCapableCopyright © 2016. All Rights Reserved.