Class EjbDescriptorImpl<T>

  • All Implemented Interfaces:
    org.jboss.weld.ejb.spi.EjbDescriptor<T>

    public class EjbDescriptorImpl<T>
    extends Object
    implements org.jboss.weld.ejb.spi.EjbDescriptor<T>
    • Constructor Detail

      • EjbDescriptorImpl

        public EjbDescriptorImpl​(EjbDescriptor ejbDescriptor)
    • Method Detail

      • getEjbName

        public String getEjbName()
        Specified by:
        getEjbName in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
      • getBeanClass

        public Class<T> getBeanClass()
        Specified by:
        getBeanClass in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
      • getLocalBusinessInterfaces

        public Collection<org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces()
        Gets the local business interfaces of the EJB
        Specified by:
        getLocalBusinessInterfaces in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
        Returns:
        An iterator over the local business interfaces
      • getRemoveMethods

        public Collection<Method> getRemoveMethods()
        Get the remove methods of the EJB
        Specified by:
        getRemoveMethods in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
        Returns:
        An iterator over the remove methods
      • isStateless

        public boolean isStateless()
        Indicates if the bean is stateless
        Specified by:
        isStateless in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
        Returns:
        True if stateless, false otherwise
      • isSingleton

        public boolean isSingleton()
        Indicates if the bean is a EJB 3.1 Singleton
        Specified by:
        isSingleton in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
        Returns:
        True if the bean is a singleton, false otherwise
      • isStateful

        public boolean isStateful()
        Indicates if the EJB is stateful
        Specified by:
        isStateful in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
        Returns:
        True if the bean is stateful, false otherwise
      • isMessageDriven

        public boolean isMessageDriven()
        Indicates if the EJB is and MDB
        Specified by:
        isMessageDriven in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
        Returns:
        True if the bean is an MDB, false otherwise
      • isPassivationCapable

        public boolean isPassivationCapable()
        Specified by:
        isPassivationCapable in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>
      • getRemoteBusinessInterfaces

        public Collection<org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces()
        Specified by:
        getRemoteBusinessInterfaces in interface org.jboss.weld.ejb.spi.EjbDescriptor<T>