Package org.jboss.weld.bean.builtin
Class InstanceBean
- java.lang.Object
-
- org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
-
- org.jboss.weld.bean.CommonBean<T>
-
- org.jboss.weld.bean.RIBean<T>
-
- org.jboss.weld.bean.builtin.AbstractBuiltInBean<T>
-
- org.jboss.weld.bean.builtin.AbstractDecorableBuiltInBean<T>
-
- org.jboss.weld.bean.builtin.AbstractFacadeBean<Instance<?>>
-
- org.jboss.weld.bean.builtin.InstanceBean
-
- All Implemented Interfaces:
Contextual<Instance<?>>,Bean<Instance<?>>,BeanAttributes<Instance<?>>,PassivationCapable,DecorableBean<Instance<?>>,WeldBean<Instance<?>>
public class InstanceBean extends AbstractFacadeBean<Instance<?>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
AbstractBuiltInBean.BuiltInBeanAttributes<T>
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.bean.RIBean
beanManager
-
-
Constructor Summary
Constructors Constructor Description InstanceBean(BeanManagerImpl manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getBeanClass()The bean class of the managed bean or session bean or of the bean that declares the producer method or field.protected TypegetDefaultType()Set<Type>getTypes()Obtains the bean types of the bean.booleanisDependentContextOptimizationAllowed()protected Instance<?>newInstance(InjectionPoint injectionPoint, CreationalContext<Instance<?>> creationalContext)StringtoString()-
Methods inherited from class org.jboss.weld.bean.builtin.AbstractFacadeBean
destroy, getDecorators, getInjectionPoint, getProxyClass, initializeAfterBeanDiscovery
-
Methods inherited from class org.jboss.weld.bean.builtin.AbstractDecorableBuiltInBean
create, getDecorators
-
Methods inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
cleanupAfterBoot, getInjectionPoints, getType, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitialize
-
Methods inherited from class org.jboss.weld.bean.RIBean
getBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isDependent, isNormalScoped, setAttributes
-
Methods inherited from class org.jboss.weld.bean.CommonBean
attributes, equals, getId, getIdentifier, hashCode, isNullable, unwrap
-
Methods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
getName, getQualifiers, getScope, getStereotypes, isAlternative
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.enterprise.inject.spi.Bean
getInjectionPoints, isNullable
-
Methods inherited from interface javax.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, isAlternative
-
Methods inherited from interface javax.enterprise.inject.spi.PassivationCapable
getId
-
Methods inherited from interface org.jboss.weld.bean.WeldBean
getPriority
-
-
-
-
Constructor Detail
-
InstanceBean
public InstanceBean(BeanManagerImpl manager)
-
-
Method Detail
-
getBeanClass
public Class<?> getBeanClass()
Description copied from interface:BeanThe bean class of the managed bean or session bean or of the bean that declares the producer method or field.- Specified by:
getBeanClassin interfaceBean<Instance<?>>- Overrides:
getBeanClassin classAbstractDecorableBuiltInBean<Instance<?>>- Returns:
- the bean class
-
getTypes
public Set<Type> getTypes()
Description copied from interface:BeanAttributesObtains the bean types of the bean.- Specified by:
getTypesin interfaceBeanAttributes<Instance<?>>- Overrides:
getTypesin classForwardingBeanAttributes<Instance<?>>- Returns:
- the bean types
-
newInstance
protected Instance<?> newInstance(InjectionPoint injectionPoint, CreationalContext<Instance<?>> creationalContext)
- Specified by:
newInstancein classAbstractDecorableBuiltInBean<Instance<?>>
-
toString
public String toString()
- Overrides:
toStringin classCommonBean<Instance<?>>
-
getDefaultType
protected Type getDefaultType()
- Specified by:
getDefaultTypein classAbstractFacadeBean<Instance<?>>
-
isDependentContextOptimizationAllowed
public boolean isDependentContextOptimizationAllowed()
- Overrides:
isDependentContextOptimizationAllowedin classAbstractBuiltInBean<Instance<?>>
-
-