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.AbstractBootstrapService
This service gathers globally enabled interceptors, decorators and alternatives and builds a list of each.
- Author:
- Jozef Hartinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAlternative(Class<?> javaClass, int priority) voidaddDecorator(Class<?> javaClass, int priority) voidaddInterceptor(Class<?> javaClass, int priority) voidcreateModuleEnablement(BeanDeployment deployment) getAlternativeList(jakarta.enterprise.inject.spi.Extension extension) getDecoratorList(jakarta.enterprise.inject.spi.Extension extension) getInterceptorList(jakarta.enterprise.inject.spi.Extension extension) booleanisDirty()toString()Methods inherited from class org.jboss.weld.bootstrap.api.helpers.AbstractBootstrapService
cleanup
-
Constructor Details
-
GlobalEnablementBuilder
public GlobalEnablementBuilder()
-
-
Method Details
-
addAlternative
-
addInterceptor
-
addDecorator
-
getAlternativeList
-
getInterceptorList
-
getDecoratorList
-
isDirty
public boolean isDirty()- Returns:
trueif a new item was added and the up-to-date enablements were not built yet,falseotherwise
-
createModuleEnablement
-
cleanupAfterBoot
public void cleanupAfterBoot() -
toString
-