Package org.jboss.weld.bean.builtin
Class AbstractFacadeBean<T>
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<T>
- Type Parameters:
T-
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<T>,jakarta.enterprise.inject.spi.Bean<T>,jakarta.enterprise.inject.spi.BeanAttributes<T>,jakarta.enterprise.inject.spi.PassivationCapable,DecorableBean<T>,WeldBean<T>
- Direct Known Subclasses:
EventBean,InstanceBean
The built-in bean for facade objects. Since special rules are applied for resolving facade beans, we need to resolve
decorators per bean instance based on the required bean type.
- Author:
- Jozef Hartinger
-
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
ConstructorsModifierConstructorDescriptionprotectedAbstractFacadeBean(BeanManagerImpl manager, Class<T> type) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected List<jakarta.enterprise.inject.spi.Decorator<?>>getDecorators(jakarta.enterprise.inject.spi.InjectionPoint ip) protected abstract Typeprotected jakarta.enterprise.inject.spi.InjectionPointvoidIn particular cases, the deployer must perform some initialization operations only after all beans have been deployed (e.g. for initializing decorators taking into account the possibility of having custom decorators which are deployed through portable extensions)Methods inherited from class org.jboss.weld.bean.builtin.AbstractDecorableBuiltInBean
create, getBeanClass, getDecorators, newInstanceMethods inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
cleanupAfterBoot, getInjectionPoints, getType, internalInitialize, isDependentContextOptimizationAllowed, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitializeMethods inherited from class org.jboss.weld.bean.RIBean
getBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isDependent, isNormalScoped, setAttributesMethods inherited from class org.jboss.weld.bean.CommonBean
attributes, equals, getId, getIdentifier, hashCode, toString, unwrapMethods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.enterprise.inject.spi.Bean
getInjectionPointsMethods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeMethods inherited from interface jakarta.enterprise.inject.spi.PassivationCapable
getIdMethods inherited from interface org.jboss.weld.bean.WeldBean
getPriority
-
Constructor Details
-
AbstractFacadeBean
-
-
Method Details
-
destroy
-
getProxyClass
- Specified by:
getProxyClassin classAbstractDecorableBuiltInBean<T>
-
initializeAfterBeanDiscovery
public void initializeAfterBeanDiscovery()Description copied from class:RIBeanIn particular cases, the deployer must perform some initialization operations only after all beans have been deployed (e.g. for initializing decorators taking into account the possibility of having custom decorators which are deployed through portable extensions)- Overrides:
initializeAfterBeanDiscoveryin classAbstractBuiltInBean<T>
-
getDecorators
protected List<jakarta.enterprise.inject.spi.Decorator<?>> getDecorators(jakarta.enterprise.inject.spi.InjectionPoint ip) - Specified by:
getDecoratorsin classAbstractDecorableBuiltInBean<T>
-
getInjectionPoint
- Overrides:
getInjectionPointin classAbstractDecorableBuiltInBean<T>
-
getDefaultType
-