public class CommonBean<T> extends Object
Constructor and Description |
---|
CommonBean(Class<?> beanClass,
Class<? extends Annotation> scope,
Set<Annotation> qualifiers,
Supplier<T> createSupplier,
Type... types) |
Modifier and Type | Method and Description |
---|---|
T |
create(<any> creationalContext) |
void |
destroy(T instance,
<any> creationalContext) |
Class<?> |
getBeanClass() |
Set<InjectionPoint> |
getInjectionPoints() |
String |
getName() |
Set<Annotation> |
getQualifiers() |
Class<? extends Annotation> |
getScope() |
Set<Class<? extends Annotation>> |
getStereotypes() |
Set<Type> |
getTypes() |
boolean |
isAlternative() |
boolean |
isNullable() |
public CommonBean(Class<?> beanClass, Class<? extends Annotation> scope, Set<Annotation> qualifiers, Supplier<T> createSupplier, Type... types)
public Class<?> getBeanClass()
public Set<InjectionPoint> getInjectionPoints()
public boolean isNullable()
public Set<Annotation> getQualifiers()
public Class<? extends Annotation> getScope()
public String getName()
public Set<Class<? extends Annotation>> getStereotypes()
public boolean isAlternative()
public T create(<any> creationalContext)
public void destroy(T instance, <any> creationalContext)
Copyright © 2020 JBoss by Red Hat. All rights reserved.