org.jboss.ejb3
Class Ejb3AnnotationHandler

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

public class Ejb3AnnotationHandler
extends Object
implements Ejb3Handler


Nested Class Summary
protected static class Ejb3AnnotationHandler.EJB_TYPE
           
 
Field Summary
protected  javassist.bytecode.annotation.Annotation annotation
           
protected  javassist.bytecode.ClassFile cf
           
protected  String className
           
protected  Hashtable ctxProperties
           
protected  String defaultMDBDomain
           
protected  String defaultSFSBDomain
           
protected  String defaultSLSBDomain
           
protected  Ejb3Deployment.DeploymentUnit di
           
protected  Class ejbClass
           
protected  List<String> ejbNames
           
protected  Ejb3AnnotationHandler.EJB_TYPE ejbType
           
protected  javassist.bytecode.AnnotationsAttribute visible
           
 
Constructor Summary
Ejb3AnnotationHandler(Ejb3Deployment.DeploymentUnit di, javassist.bytecode.ClassFile cf, String defaultSLSB, String defaultSFSB, String defaultMDB)
           
 
Method Summary
 List<Collection> getAllDepends()
           
 List getContainers(javassist.bytecode.ClassFile cf, Ejb3Deployment deployment)
           
protected  MDB getMDB(int ejbIndex)
           
protected  StatefulContainer getStatefulContainer(int ejbIndex)
           
protected  StatelessContainer getStatelessContainer(int ejbIndex)
           
 boolean isEjb()
           
protected  void populateBaseInfo()
           
 void setCtxProperties(Hashtable ctxProperties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

di

protected Ejb3Deployment.DeploymentUnit di

cf

protected javassist.bytecode.ClassFile cf

ejbNames

protected List<String> ejbNames

ejbClass

protected Class ejbClass

className

protected String className

ejbType

protected Ejb3AnnotationHandler.EJB_TYPE ejbType

annotation

protected javassist.bytecode.annotation.Annotation annotation

visible

protected javassist.bytecode.AnnotationsAttribute visible

ctxProperties

protected Hashtable ctxProperties

defaultSLSBDomain

protected String defaultSLSBDomain

defaultSFSBDomain

protected String defaultSFSBDomain

defaultMDBDomain

protected String defaultMDBDomain
Constructor Detail

Ejb3AnnotationHandler

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

setCtxProperties

public void setCtxProperties(Hashtable ctxProperties)
Specified by:
setCtxProperties in interface Ejb3Handler

isEjb

public boolean isEjb()
Specified by:
isEjb in interface Ejb3Handler

getContainers

public List getContainers(javassist.bytecode.ClassFile cf,
                          Ejb3Deployment deployment)
                   throws Exception
Specified by:
getContainers in interface Ejb3Handler
Throws:
Exception

getStatefulContainer

protected StatefulContainer getStatefulContainer(int ejbIndex)
                                          throws Exception
Throws:
Exception

getStatelessContainer

protected StatelessContainer getStatelessContainer(int ejbIndex)
                                            throws Exception
Throws:
Exception

getMDB

protected MDB getMDB(int ejbIndex)
              throws Exception
Throws:
Exception

populateBaseInfo

protected void populateBaseInfo()
                         throws Exception
Throws:
Exception

getAllDepends

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


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