Class GlobalEnablementBuilder
- java.lang.Object
-
- org.jboss.weld.bootstrap.api.helpers.AbstractBootstrapService
-
- org.jboss.weld.bootstrap.enablement.GlobalEnablementBuilder
-
- All Implemented Interfaces:
org.jboss.weld.bootstrap.api.BootstrapService,org.jboss.weld.bootstrap.api.Service
public class GlobalEnablementBuilder extends org.jboss.weld.bootstrap.api.helpers.AbstractBootstrapServiceThis service gathers globally enabled interceptors, decorators and alternatives and builds a list of each.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description GlobalEnablementBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAlternative(Class<?> javaClass, int priority)voidaddDecorator(Class<?> javaClass, int priority)voidaddInterceptor(Class<?> javaClass, int priority)voidcleanupAfterBoot()ModuleEnablementcreateModuleEnablement(BeanDeployment deployment)List<Class<?>>getAlternativeList(Extension extension)List<Class<?>>getDecoratorList(Extension extension)List<Class<?>>getInterceptorList(Extension extension)booleanisDirty()StringtoString()
-
-
-
Method Detail
-
addAlternative
public void addAlternative(Class<?> javaClass, int priority)
-
addInterceptor
public void addInterceptor(Class<?> javaClass, int priority)
-
addDecorator
public void addDecorator(Class<?> javaClass, int priority)
-
isDirty
public boolean isDirty()
- Returns:
trueif a new item was added and the up-to-date enablements were not built yet,falseotherwise
-
createModuleEnablement
public ModuleEnablement createModuleEnablement(BeanDeployment deployment)
-
cleanupAfterBoot
public void cleanupAfterBoot()
-
-