Class EjbsContext
- java.lang.Object
-
- org.glassfish.apf.context.AnnotationContext
-
- 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
Constructors Constructor Description EjbsContext(EjbContext[] ejbContexts)Create a new instance of EjbContext.EjbsContext(EjbDescriptor[] ejbDescs, Class ejbClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendElement(ElementType type, AnnotatedElement element)After annotations for an annotated element are processed, the endElement is called with the annotated element value and its typeStringgetComponentClassName()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
-
-
-
-
Constructor Detail
-
EjbsContext
public EjbsContext(EjbDescriptor[] ejbDescs, 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(ElementType type, AnnotatedElement element)
Description copied from interface:AnnotatedElementHandlerAfter annotations for an annotated element are processed, the endElement is called with the annotated element value and its type- Specified by:
endElementin interfaceAnnotatedElementHandler- Overrides:
endElementin classAnnotationContext- Parameters:
type- the annotated element type (class, field, method...)element- the annotated element we are done visiting.
-
getComponentClassName
public String getComponentClassName()
- Specified by:
getComponentClassNamein interfaceComponentContext- Returns:
- the component java class name
-
-