com.sun.enterprise.deployment.annotation.context
Class EjbsContext

java.lang.Object
  extended by org.glassfish.apf.context.AnnotationContext
      extended by com.sun.enterprise.deployment.annotation.context.EjbsContext
All Implemented Interfaces:
ComponentContext, AnnotatedElementHandler

public class EjbsContext
extends AnnotationContext
implements ComponentContext

This provides a context for a collection of Ejbs with the ejb class name.


Constructor Summary
EjbsContext(EjbContext[] ejbContexts)
          Create a new instance of EjbContext.
EjbsContext(EjbDescriptor[] ejbDescs, java.lang.Class ejbClass)
           
 
Method Summary
 void endElement(java.lang.annotation.ElementType type, java.lang.reflect.AnnotatedElement element)
           
 java.lang.String getComponentClassName()
           
 EjbContext[] getEjbContexts()
          Note that, for performance, we don't make a safe copy of array here.
 
Methods inherited from class org.glassfish.apf.context.AnnotationContext
getProcessingContext, setProcessingContext, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbsContext

public EjbsContext(EjbDescriptor[] ejbDescs,
                   java.lang.Class ejbClass)

EjbsContext

public EjbsContext(EjbContext[] ejbContexts)
Create a new instance of EjbContext. Note that, for performance, we don't make a safe copy of array here.

Method Detail

getEjbContexts

public EjbContext[] getEjbContexts()
Note that, for performance, we don't make a safe copy of array here.


endElement

public void endElement(java.lang.annotation.ElementType type,
                       java.lang.reflect.AnnotatedElement element)
Specified by:
endElement in interface AnnotatedElementHandler
Overrides:
endElement in class AnnotationContext

getComponentClassName

public java.lang.String getComponentClassName()
Specified by:
getComponentClassName in interface ComponentContext
Returns:
the component java class name


Copyright © 2012 GlassFish Community. All Rights Reserved.