org.jboss.ejb3
Class Ejb3DescriptorHandler

java.lang.Object
  extended by org.jboss.ejb3.Ejb3AnnotationHandler
      extended by org.jboss.ejb3.Ejb3DescriptorHandler
All Implemented Interfaces:
Ejb3Handler

public class Ejb3DescriptorHandler
extends Ejb3AnnotationHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.ejb3.Ejb3AnnotationHandler
Ejb3AnnotationHandler.EJB_TYPE
 
Field Summary
protected  EjbJarDD dd
           
protected  List<Collection> dependsList
           
protected  List<EnterpriseBean> ejbs
           
 
Fields inherited from class org.jboss.ejb3.Ejb3AnnotationHandler
annotation, cf, className, ctxProperties, defaultMDBDomain, defaultSFSBDomain, defaultSLSBDomain, di, ejbClass, ejbNames, ejbType, visible
 
Constructor Summary
Ejb3DescriptorHandler(Ejb3Deployment.DeploymentUnit di, javassist.bytecode.ClassFile cf, EjbJarDD dd, String defaultSLSB, String defaultSFSB, String defaultMDB)
           
 
Method Summary
 List<Collection> getAllDepends()
           
protected  MDB getMDB(int ejbIndex)
           
protected  StatefulContainer getStatefulContainer(int ejbIndex)
           
protected  StatelessContainer getStatelessContainer(int ejbIndex)
           
 boolean isEjb()
           
protected  void overrideAnnotations(EJBContainer container, Member m, String annotation, Object value)
           
static EjbJarDD parseDescriptors(Ejb3Deployment.DeploymentUnit di)
           
protected  void populateBaseInfo()
           
 
Methods inherited from class org.jboss.ejb3.Ejb3AnnotationHandler
getContainers, setCtxProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dd

protected EjbJarDD dd

ejbs

protected List<EnterpriseBean> ejbs

dependsList

protected List<Collection> dependsList
Constructor Detail

Ejb3DescriptorHandler

public Ejb3DescriptorHandler(Ejb3Deployment.DeploymentUnit di,
                             javassist.bytecode.ClassFile cf,
                             EjbJarDD dd,
                             String defaultSLSB,
                             String defaultSFSB,
                             String defaultMDB)
Method Detail

getAllDepends

public List<Collection> getAllDepends()
Specified by:
getAllDepends in interface Ejb3Handler
Overrides:
getAllDepends in class Ejb3AnnotationHandler

isEjb

public boolean isEjb()
Specified by:
isEjb in interface Ejb3Handler
Overrides:
isEjb in class Ejb3AnnotationHandler

populateBaseInfo

protected void populateBaseInfo()
                         throws Exception
Overrides:
populateBaseInfo in class Ejb3AnnotationHandler
Throws:
Exception

getStatefulContainer

protected StatefulContainer getStatefulContainer(int ejbIndex)
                                          throws Exception
Overrides:
getStatefulContainer in class Ejb3AnnotationHandler
Throws:
Exception

getStatelessContainer

protected StatelessContainer getStatelessContainer(int ejbIndex)
                                            throws Exception
Overrides:
getStatelessContainer in class Ejb3AnnotationHandler
Throws:
Exception

getMDB

protected MDB getMDB(int ejbIndex)
              throws Exception
Overrides:
getMDB in class Ejb3AnnotationHandler
Throws:
Exception

parseDescriptors

public static EjbJarDD parseDescriptors(Ejb3Deployment.DeploymentUnit di)
                                 throws org.jboss.xb.binding.JBossXBException,
                                        IOException
Throws:
org.jboss.xb.binding.JBossXBException
IOException

overrideAnnotations

protected void overrideAnnotations(EJBContainer container,
                                   Member m,
                                   String annotation,
                                   Object value)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.