public class ThirdpartyBeanImpl<T> extends AbstractOwbBean<T> implements Bean<T>
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType| Constructor and Description |
|---|
ThirdpartyBeanImpl(WebBeansContext webBeansContext,
Bean<T> bean) |
| Modifier and Type | Method and Description |
|---|---|
T |
create(CreationalContext<T> context) |
void |
destroy(T instance,
CreationalContext<T> context) |
boolean |
equals(Object other) |
Class<?> |
getBeanClass() |
String |
getId()
get the unique Id of the bean.
|
Set<InjectionPoint> |
getInjectionPoints() |
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, isNullableclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetName, getQualifiers, getScope, getStereotypes, getTypes, isNullablepublic ThirdpartyBeanImpl(WebBeansContext webBeansContext, Bean<T> bean)
public Producer<T> getProducer()
getProducer in interface OwbBean<T>public Set<InjectionPoint> getInjectionPoints()
AbstractOwbBeangetInjectionPoints in interface Bean<T>getInjectionPoints in class AbstractOwbBean<T>public T create(CreationalContext<T> context)
AbstractOwbBeancreate in interface Contextual<T>create in class AbstractOwbBean<T>public void destroy(T instance, CreationalContext<T> context)
destroy in interface Contextual<T>destroy in class AbstractOwbBean<T>public String getId()
AbstractOwbBeangetId in interface PassivationCapablegetId in interface OwbBean<T>getId in class AbstractOwbBean<T>public boolean isPassivationCapable()
OwbBeanisPassivationCapable in interface OwbBean<T>isPassivationCapable in class AbstractOwbBean<T>public Class<?> getBeanClass()
getBeanClass in interface Bean<T>getBeanClass in class AbstractOwbBean<T>public boolean isAlternative()
AbstractOwbBeanisAlternative in interface Bean<T>isAlternative in interface BeanAttributes<T>isAlternative in class AbstractOwbBean<T>public int hashCode()
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.