org.glassfish.weld.ejb
Class EjbDescriptorImpl<T>

java.lang.Object
  extended by org.glassfish.weld.ejb.EjbDescriptorImpl<T>
All Implemented Interfaces:
org.jboss.weld.ejb.spi.EjbDescriptor<T>

public class EjbDescriptorImpl<T>
extends java.lang.Object
implements org.jboss.weld.ejb.spi.EjbDescriptor<T>


Constructor Summary
EjbDescriptorImpl(EjbDescriptor e)
           
 
Method Summary
 java.lang.Class<T> getBeanClass()
           
 EjbDescriptor getEjbDescriptor()
           
 java.lang.String getEjbName()
           
 java.util.Collection<org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces()
          Gets the local business interfaces of the EJB
 java.util.Collection<org.jboss.weld.ejb.spi.BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces()
           
 java.util.Collection<java.lang.reflect.Method> getRemoveMethods()
          Get the remove methods of the EJB
 boolean isMessageDriven()
          Indicates if the EJB is and MDB
 boolean isSingleton()
          Indicates if the bean is a EJB 3.1 Singleton
 boolean isStateful()
          Indicates if the EJB is stateful
 boolean isStateless()
          Indicates if the bean is stateless
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EjbDescriptorImpl

public EjbDescriptorImpl(EjbDescriptor e)
Method Detail

getEjbName

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

getEjbDescriptor

public EjbDescriptor getEjbDescriptor()

getBeanClass

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

getLocalBusinessInterfaces

public java.util.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 java.util.Collection<java.lang.reflect.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

getRemoteBusinessInterfaces

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 GlassFish Community. All Rights Reserved.