eXo Kernel :: Container Extension :: Weld 2 Implementation 2.5.0-Alpha3

org.exoplatform.container.weld
Class BasicWeldContainerHelper

java.lang.Object
  extended by org.exoplatform.container.weld.BasicWeldContainerHelper
All Implemented Interfaces:
WeldContainerHelper

public class BasicWeldContainerHelper
extends Object
implements 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
BasicWeldContainerHelper(InitParams p)
          The default constructor
 
Method Summary
 List<javax.enterprise.inject.spi.Extension> getExtensions()
          Simply returns null Gives the list of all the Extension to be added to Weld
 boolean isIncluded(Class<?> clazz)
          Indicates whether or not a given class must be managed by Weld
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicWeldContainerHelper

public BasicWeldContainerHelper(InitParams p)
The default constructor

Parameters:
p - the initial parameters
Method Detail

getExtensions

public List<javax.enterprise.inject.spi.Extension> getExtensions()
Simply returns null Gives the list of all the Extension to be added to Weld

Specified by:
getExtensions in interface WeldContainerHelper

isIncluded

public boolean isIncluded(Class<?> clazz)
Indicates whether or not a given class must be managed by Weld

Specified by:
isIncluded in interface WeldContainerHelper
Parameters:
clazz - the class of the component
Returns:
true if the component is part of the scope of Weld, false otherwise.

eXo Kernel :: Container Extension :: Weld 2 Implementation 2.5.0-Alpha3

Copyright © 2013 eXo Platform SAS. All Rights Reserved.