Class 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 Detail

      • BasicWeldContainerHelper

        public BasicWeldContainerHelper​(org.exoplatform.container.xml.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.