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()
EjbDescriptor
getEjbDescriptor()
String
getEjbName()
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 EJBboolean
isMessageDriven()
Indicates if the EJB is and MDBboolean
isPassivationCapable()
boolean
isSingleton()
Indicates if the bean is a EJB 3.1 Singletonboolean
isStateful()
Indicates if the EJB is statefulboolean
isStateless()
Indicates if the bean is statelessString
toString()
-
-
-
Constructor Detail
-
EjbDescriptorImpl
public EjbDescriptorImpl(EjbDescriptor ejbDescriptor)
-
-
Method Detail
-
getEjbName
public String getEjbName()
- Specified by:
getEjbName
in interfaceorg.jboss.weld.ejb.spi.EjbDescriptor<T>
-
getEjbDescriptor
public EjbDescriptor getEjbDescriptor()
-
getBeanClass
public Class<T> getBeanClass()
- Specified by:
getBeanClass
in 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:
getLocalBusinessInterfaces
in 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:
getRemoveMethods
in 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:
isStateless
in 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:
isSingleton
in 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:
isStateful
in 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:
isMessageDriven
in interfaceorg.jboss.weld.ejb.spi.EjbDescriptor<T>
- Returns:
- True if the bean is an MDB, false otherwise
-
isPassivationCapable
public boolean isPassivationCapable()
- Specified by:
isPassivationCapable
in interfaceorg.jboss.weld.ejb.spi.EjbDescriptor<T>
-
getRemoteBusinessInterfaces
public Collection<org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces()
- Specified by:
getRemoteBusinessInterfaces
in interfaceorg.jboss.weld.ejb.spi.EjbDescriptor<T>
-
-