Package org.glassfish.weld.ejb
Class EjbDescriptorImpl<T>
- java.lang.Object
-
- org.glassfish.weld.ejb.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 Summary
Constructors Constructor Description EjbDescriptorImpl(EjbDescriptor ejbDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<T>getBeanClass()EjbDescriptorgetEjbDescriptor()StringgetEjbName()Collection<org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>>getLocalBusinessInterfaces()Gets the local business interfaces of the EJBCollection<org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>>getRemoteBusinessInterfaces()Collection<Method>getRemoveMethods()Get the remove methods of the EJBbooleanisMessageDriven()Indicates if the EJB is and MDBbooleanisPassivationCapable()booleanisSingleton()Indicates if the bean is a EJB 3.1 SingletonbooleanisStateful()Indicates if the EJB is statefulbooleanisStateless()Indicates if the bean is statelessStringtoString()
-
-
-
Constructor Detail
-
EjbDescriptorImpl
public EjbDescriptorImpl(EjbDescriptor ejbDescriptor)
-
-
Method Detail
-
getEjbName
public String getEjbName()
- Specified by:
getEjbNamein interfaceorg.jboss.weld.ejb.spi.EjbDescriptor<T>
-
getEjbDescriptor
public EjbDescriptor getEjbDescriptor()
-
getBeanClass
public Class<T> getBeanClass()
- Specified by:
getBeanClassin interfaceorg.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:
getLocalBusinessInterfacesin interfaceorg.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:
getRemoveMethodsin interfaceorg.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:
isStatelessin interfaceorg.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:
isSingletonin interfaceorg.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:
isStatefulin interfaceorg.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:
isMessageDrivenin interfaceorg.jboss.weld.ejb.spi.EjbDescriptor<T>- Returns:
- True if the bean is an MDB, false otherwise
-
isPassivationCapable
public boolean isPassivationCapable()
- Specified by:
isPassivationCapablein interfaceorg.jboss.weld.ejb.spi.EjbDescriptor<T>
-
getRemoteBusinessInterfaces
public Collection<org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces()
- Specified by:
getRemoteBusinessInterfacesin interfaceorg.jboss.weld.ejb.spi.EjbDescriptor<T>
-
-