Package org.exoplatform.container.weld
Class BasicWeldContainerHelper
java.lang.Object
org.exoplatform.container.weld.BasicWeldContainerHelper
- All Implemented Interfaces:
WeldContainerHelper
This provider simply returns no
Extension to be added to Weld. It also
relies on a configurable lists of prefixes of classes to be included or excluded from
the scope of Weld.- Version:
- $Id$
- Author:
- Nicolas Filotto
-
Constructor Summary
ConstructorsConstructorDescriptionBasicWeldContainerHelper(org.exoplatform.container.xml.InitParams p) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionList<javax.enterprise.inject.spi.Extension>Simply returnsnullGives the list of all theExtensionto be added toWeldbooleanisIncluded(Class<?> clazz) Indicates whether or not a given class must be managed byWeld
-
Constructor Details
-
BasicWeldContainerHelper
public BasicWeldContainerHelper(org.exoplatform.container.xml.InitParams p) The default constructor- Parameters:
p- the initial parameters
-
-
Method Details
-
getExtensions
Simply returnsnullGives the list of all theExtensionto be added toWeld- Specified by:
getExtensionsin interfaceWeldContainerHelper
-
isIncluded
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.
-