Class EjbDescriptors

    • Constructor Detail

      • EjbDescriptors

        public EjbDescriptors()
        Constructor
    • Method Detail

      • get

        public <T> InternalEjbDescriptor<T> get​(String beanName)
        Gets an iterator to the EJB descriptors for an EJB implementation class
        Parameters:
        beanClass - The EJB class
        Returns:
        An iterator
      • add

        public <T> void add​(org.jboss.weld.ejb.spi.EjbDescriptor<T> ejbDescriptor)
        Adds an EJB descriptor to the maps
        Parameters:
        ejbDescriptor - The EJB descriptor to add
      • contains

        public boolean contains​(String beanName)
        Indicates if there are EJB descriptors available for an EJB implementation class
        Parameters:
        beanClass - The class to match
        Returns:
        True if present, otherwise false
      • contains

        public boolean contains​(Class<?> beanClass)
        Indicates if there are EJB descriptors available for an EJB implementation class
        Parameters:
        beanClass - The class to match
        Returns:
        True if present, otherwise false
      • addAll

        public void addAll​(Iterable<org.jboss.weld.ejb.spi.EjbDescriptor<?>> ejbDescriptors)
        Adds all EJB descriptors to the maps
        Parameters:
        ejbDescriptors - The descriptors to add
      • clear

        public void clear()
        Clears both maps
      • cleanup

        public void cleanup()
        Specified by:
        cleanup in interface org.jboss.weld.bootstrap.api.Service