Package org.exoplatform.container.weld
Class BasicWeldContainerHelper
- java.lang.Object
-
- org.exoplatform.container.weld.BasicWeldContainerHelper
-
- All Implemented Interfaces:
WeldContainerHelper
public class BasicWeldContainerHelper extends Object implements WeldContainerHelper
This provider simply returns noExtensionto be added toWeld. It also relies on a configurable lists of prefixes of classes to be included or excluded from the scope ofWeld.- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Constructor Summary
Constructors Constructor Description BasicWeldContainerHelper(org.exoplatform.container.xml.InitParams p)The default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<javax.enterprise.inject.spi.Extension>getExtensions()Simply returnsnullGives the list of all theExtensionto be added toWeldbooleanisIncluded(Class<?> clazz)Indicates whether or not a given class must be managed byWeld
-
-
-
Method Detail
-
getExtensions
public List<javax.enterprise.inject.spi.Extension> getExtensions()
Simply returnsnullGives the list of all theExtensionto be added toWeld- Specified by:
getExtensionsin interfaceWeldContainerHelper
-
isIncluded
public boolean isIncluded(Class<?> clazz)
Indicates whether or not a given class must be managed byWeld- Specified by:
isIncludedin interfaceWeldContainerHelper- Parameters:
clazz- the class of the component- Returns:
trueif the component is part of the scope ofWeld,falseotherwise.
-
-