public class ThirdpartyBeanImpl<T> extends AbstractOwbBean<T> implements javax.enterprise.inject.spi.Bean<T>
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType| Constructor and Description |
|---|
ThirdpartyBeanImpl(WebBeansContext webBeansContext,
javax.enterprise.inject.spi.Bean<T> bean) |
| Modifier and Type | Method and Description |
|---|---|
T |
create(javax.enterprise.context.spi.CreationalContext<T> context) |
void |
destroy(T instance,
javax.enterprise.context.spi.CreationalContext<T> context) |
boolean |
equals(Object other) |
Class<?> |
getBeanClass() |
String |
getId()
get the unique Id of the bean.
|
Set<javax.enterprise.inject.spi.InjectionPoint> |
getInjectionPoints() |
javax.enterprise.inject.spi.Producer<T> |
getProducer() |
int |
hashCode()
We need to override the hash code from the AbstractOwbBean
and delegate to the shaded instance.
|
boolean |
isAlternative() |
boolean |
isPassivationCapable()
True if passivation capable false otherwise.
|
getLogger, getReturnType, getWebBeansContext, getWebBeansType, isDependent, isEnabled, isSpecializedBean, setEnabled, setSpecializedBean, toStringgetName, getQualifiers, getScope, getStereotypes, getTypes, isNullablepublic ThirdpartyBeanImpl(WebBeansContext webBeansContext, javax.enterprise.inject.spi.Bean<T> bean)
public javax.enterprise.inject.spi.Producer<T> getProducer()
getProducer in interface OwbBean<T>public Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
AbstractOwbBeangetInjectionPoints in interface javax.enterprise.inject.spi.Bean<T>getInjectionPoints in class AbstractOwbBean<T>public T create(javax.enterprise.context.spi.CreationalContext<T> context)
AbstractOwbBeancreate 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 String getId()
AbstractOwbBeanpublic boolean isPassivationCapable()
OwbBeanisPassivationCapable in interface OwbBean<T>isPassivationCapable in class AbstractOwbBean<T>public Class<?> getBeanClass()
getBeanClass in interface javax.enterprise.inject.spi.Bean<T>getBeanClass in class AbstractOwbBean<T>public boolean isAlternative()
AbstractOwbBeanisAlternative in interface javax.enterprise.inject.spi.Bean<T>isAlternative in interface BeanAttributes<T>isAlternative in class AbstractOwbBean<T>public int hashCode()
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.