public abstract class AbstractSingletonBean<T> extends BeanWrapper<T> implements java.io.Closeable, AnnotatedBean
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Frees the singleton on environment shutdown
|
abstract T |
create(<any> env) |
Annotated |
getAnnotated() |
<any> |
getAnnotatedType() |
java.lang.String |
getId()
Return passivation id
|
java.lang.String |
getName() |
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers() |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Returns the bean's scope type.
|
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getStereotypes() |
java.util.Set<java.lang.reflect.Type> |
getTypes()
Returns the types that the bean exports for bindings.
|
void |
introspectObservers() |
void |
introspectProduces() |
destroygetBean, getBeanClass, getInjectionPoints, isAlternative, isNullablecalculatePassivationId, createObject, getBeanManager, getInjectionTarget, getJavaClass, introspect, isPassivationCapable, toDisplayString, toDisplayStringImpl, toStringpublic Annotated getAnnotated()
getAnnotated in interface AnnotatedBeangetAnnotated in class BeanAdapter<T,T>public <any> getAnnotatedType()
getAnnotatedType in class AbstractBean<T>public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
getQualifiers in class BeanAdapter<T,T>public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
getStereotypes in class BeanAdapter<T,T>public java.lang.String getName()
getName in class BeanAdapter<T,T>public java.lang.String getId()
getId in class AbstractBean<T>public void introspectProduces()
public void introspectObservers()
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope in class BeanAdapter<T,T>public java.util.Set<java.lang.reflect.Type> getTypes()
getTypes in class BeanAdapter<T,T>public abstract T create(<any> env)
create in class BeanWrapper<T>public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseable