org.apache.webbeans.component
Class EventBean<T>
java.lang.Object
org.apache.webbeans.component.AbstractOwbBean<Event<T>>
org.apache.webbeans.component.EventBean<T>
- All Implemented Interfaces:
- Contextual<Event<T>>, Bean<Event<T>>, OwbBean<Event<T>>
public class EventBean<T>
- extends AbstractOwbBean<Event<T>>
Implicit observable bean definition.
- Version:
- $Rev: 1002992 $ $Date: 2010-09-30 12:19:45 +0200 (Do, 30 Sep 2010) $
| Fields inherited from class org.apache.webbeans.component.AbstractOwbBean |
apiTypes, enabled, implQualifiers, implScopeType, injectionPoints, logger, name, nullable, passivatingId, returnType, scopeClass, serializable, specializedBean, stereoTypeClasses, stereoTypes, webBeansType |
|
Constructor Summary |
EventBean()
Creates a new instance of event bean. |
| Methods inherited from class org.apache.webbeans.component.AbstractOwbBean |
addApiType, addInjectionPoint, addQualifier, addStereoType, create, createNewInstance, destroy, destroyCreatedInstance, destroyInstance, getBeanClass, getId, getImplQualifiers, getImplScopeType, getInjectionPoint, getInjectionPoints, getLogger, getManager, getName, getOwbStereotypes, getQualifiers, getReturnType, getScope, getStereotypes, getTypes, getWebBeansType, isAlternative, isDependent, isEnabled, isNullable, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBean, toString, validatePassivationDependencies |
local
public static ThreadLocal<InjectionPoint> local
EventBean
public EventBean()
- Creates a new instance of event bean.
createInstance
protected Event<T> createInstance(CreationalContext<Event<T>> creationalContext)
- Creates the instance of the bean that has a specific implementation
type. Each subclass must define its own create mechanism.
- Specified by:
createInstance in class AbstractOwbBean<Event<T>>
- Parameters:
creationalContext - the contextual instance shall be created in
- Returns:
- instance of the bean
isPassivationCapable
public boolean isPassivationCapable()
- Description copied from interface:
OwbBean
- True if passivation capable false otherwise.
- Specified by:
isPassivationCapable in interface OwbBean<Event<T>>- Overrides:
isPassivationCapable in class AbstractOwbBean<Event<T>>
- Returns:
- true if this bean is passivation capable
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.