public interface BeanEntry<T> extends Serializable
Modifier and Type | Method and Description |
---|---|
javax.enterprise.inject.spi.Bean<T> |
getBean()
Bean of the current entry |
T |
getBeanInstance()
Scoped instance which was created based on the
Bean of the current entry. |
javax.enterprise.context.spi.CreationalContext<T> |
getCreationalContext()
CreationalContext of the current entry |
boolean |
isAccessBeanEventEnabled()
Flag which indicates if the
AccessBeanEvent is enabled |
boolean |
isScopeBeanEventEnabled()
Flag which indicates if the
ScopeBeanEvent is enabled |
boolean |
isUnscopeBeanEventEnabled()
Flag which indicates if the
UnscopeBeanEvent is enabled |
T |
resetBeanInstance()
Resets the bean instance to null
|
javax.enterprise.inject.spi.Bean<T> getBean()
Bean
of the current entryjavax.enterprise.context.spi.CreationalContext<T> getCreationalContext()
CreationalContext
of the current entryT getBeanInstance()
Bean
of the current entry.
If it hasn't been created, it will be created automatically.T resetBeanInstance()
boolean isScopeBeanEventEnabled()
ScopeBeanEvent
is enabledboolean isAccessBeanEventEnabled()
AccessBeanEvent
is enabledboolean isUnscopeBeanEventEnabled()
UnscopeBeanEvent
is enabledCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.