|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.component.AbstractOwbBean<T>
org.apache.webbeans.component.third.ThirdpartyBeanImpl<T>
public class ThirdpartyBeanImpl<T>
| Field Summary |
|---|
| Fields inherited from class org.apache.webbeans.component.AbstractOwbBean |
|---|
apiTypes, enabled, implQualifiers, implScopeType, injectionPoints, name, nullable, passivatingId, returnType, scopeClass, serializable, specializedBean, stereoTypeClasses, stereoTypes, webBeansType |
| Constructor Summary | |
|---|---|
ThirdpartyBeanImpl(javax.enterprise.inject.spi.Bean<T> bean,
WebBeansContext webBeansContext)
|
|
| Method Summary | |
|---|---|
T |
create(javax.enterprise.context.spi.CreationalContext<T> context)
|
protected T |
createInstance(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Creates the instance of the bean that has a specific implementation type. |
void |
destroy(T instance,
javax.enterprise.context.spi.CreationalContext<T> context)
|
protected void |
destroyInstance(T instance,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Destroy the instance of the bean. |
java.lang.Class<?> |
getBeanClass()
Get return types of the bean. |
java.lang.String |
getId()
get the unique Id of the bean. |
java.util.Set<javax.enterprise.inject.spi.InjectionPoint> |
getInjectionPoints()
|
java.lang.String |
getName()
Name of the bean. |
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
|
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getStereotypes()
|
java.util.Set<java.lang.reflect.Type> |
getTypes()
|
boolean |
isAlternative()
|
boolean |
isNullable()
|
boolean |
isPassivationCapable()
True if passivation capable false otherwise. |
| Methods inherited from class org.apache.webbeans.component.AbstractOwbBean |
|---|
addApiType, addInjectionPoint, addQualifier, addStereoType, createNewInstance, destroyCreatedInstance, getImplQualifiers, getImplScopeType, getInjectionPoint, getLogger, getManager, getOwbStereotypes, getReturnType, getWebBeansContext, getWebBeansType, isDependent, isEnabled, isSerializable, isSpecializedBean, setEnabled, setImplScopeType, setName, setNullable, setSerializable, setSpecializedBean, toString, validatePassivationDependencies |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ThirdpartyBeanImpl(javax.enterprise.inject.spi.Bean<T> bean,
WebBeansContext webBeansContext)
| Method Detail |
|---|
public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
getQualifiers in interface javax.enterprise.inject.spi.Bean<T>getQualifiers in class AbstractOwbBean<T>public java.util.Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
AbstractOwbBean
getInjectionPoints in interface javax.enterprise.inject.spi.Bean<T>getInjectionPoints in class AbstractOwbBean<T>public java.lang.String getName()
AbstractOwbBean
getName in interface javax.enterprise.inject.spi.Bean<T>getName in class AbstractOwbBean<T>public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope in interface javax.enterprise.inject.spi.Bean<T>getScope in class AbstractOwbBean<T>public java.util.Set<java.lang.reflect.Type> getTypes()
getTypes in interface javax.enterprise.inject.spi.Bean<T>getTypes in class AbstractOwbBean<T>public boolean isNullable()
AbstractOwbBean
isNullable in interface javax.enterprise.inject.spi.Bean<T>isNullable in class AbstractOwbBean<T>public T create(javax.enterprise.context.spi.CreationalContext<T> context)
AbstractOwbBean
create in interface javax.enterprise.context.spi.Contextual<T>create in class AbstractOwbBean<T>
public void destroy(T instance,
javax.enterprise.context.spi.CreationalContext<T> context)
destroy in interface javax.enterprise.context.spi.Contextual<T>destroy in class AbstractOwbBean<T>public java.lang.String getId()
AbstractOwbBean
getId in interface OwbBean<T>getId in class AbstractOwbBean<T>public boolean isPassivationCapable()
OwbBean
isPassivationCapable in interface OwbBean<T>isPassivationCapable in class AbstractOwbBean<T>protected T createInstance(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
AbstractOwbBean
createInstance in class AbstractOwbBean<T>creationalContext - the contextual instance shall be created in
protected void destroyInstance(T instance,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
AbstractOwbBean
destroyInstance in class AbstractOwbBean<T>instance - instance of the bean that is being destroyedcreationalContext - the contextual instance has been created inpublic java.lang.Class<?> getBeanClass()
AbstractOwbBean
getBeanClass in interface javax.enterprise.inject.spi.Bean<T>getBeanClass in class AbstractOwbBean<T>public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
AbstractOwbBean
getStereotypes in interface javax.enterprise.inject.spi.Bean<T>getStereotypes in class AbstractOwbBean<T>public boolean isAlternative()
AbstractOwbBean
isAlternative in interface javax.enterprise.inject.spi.Bean<T>isAlternative in class AbstractOwbBean<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||