Class ModuleEnablement
- java.lang.Object
-
- org.jboss.weld.bootstrap.enablement.ModuleEnablement
-
public class ModuleEnablement extends Object
Holds information about interceptors, decorators and alternatives that are enabled in this module.- Author:
- Jozef Hartinger
-
-
Field Summary
Fields Modifier and Type Field Description static ModuleEnablementEMPTY_ENABLEMENT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Class<?>>getAllAlternatives()Set<Class<?>>getAlternativeClasses()IntegergetAlternativePriority(Class<?> javaClass)Set<Class<? extends Annotation>>getAlternativeStereotypes()Comparator<Decorator<?>>getDecoratorComparator()List<Class<?>>getDecorators()Set<Class<?>>getGlobalAlternatives()Comparator<Interceptor<?>>getInterceptorComparator()List<Class<?>>getInterceptors()booleanisDecoratorEnabled(Class<?> javaClass)booleanisEnabledAlternativeClass(Class<?> alternativeClass)booleanisEnabledAlternativeStereotype(Class<?> alternativeClass)booleanisInterceptorEnabled(Class<?> javaClass)StringtoString()
-
-
-
Field Detail
-
EMPTY_ENABLEMENT
public static final ModuleEnablement EMPTY_ENABLEMENT
-
-
Method Detail
-
isInterceptorEnabled
public boolean isInterceptorEnabled(Class<?> javaClass)
-
isDecoratorEnabled
public boolean isDecoratorEnabled(Class<?> javaClass)
-
getDecoratorComparator
public Comparator<Decorator<?>> getDecoratorComparator()
-
getInterceptorComparator
public Comparator<Interceptor<?>> getInterceptorComparator()
-
isEnabledAlternativeClass
public boolean isEnabledAlternativeClass(Class<?> alternativeClass)
-
isEnabledAlternativeStereotype
public boolean isEnabledAlternativeStereotype(Class<?> alternativeClass)
-
getAlternativeStereotypes
public Set<Class<? extends Annotation>> getAlternativeStereotypes()
-
-