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, toString
getName, getQualifiers, getScope, getStereotypes, getTypes, isNullable
public 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()
AbstractOwbBean
getInjectionPoints
in interface javax.enterprise.inject.spi.Bean<T>
getInjectionPoints
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 String getId()
AbstractOwbBean
public boolean isPassivationCapable()
OwbBean
isPassivationCapable
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()
AbstractOwbBean
isAlternative
in interface BeanAttributes<T>
isAlternative
in class AbstractOwbBean<T>
public int hashCode()
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.