com.sun.enterprise.deployment.annotation.context
Class WebComponentsContext
java.lang.Object
org.glassfish.apf.context.AnnotationContext
com.sun.enterprise.deployment.annotation.context.WebComponentsContext
- All Implemented Interfaces:
- ComponentContext, AnnotatedElementHandler
public class WebComponentsContext
- extends AnnotationContext
- implements ComponentContext
This provides a context for a collection of web components with the same
impl class name.
- Author:
- Shing Wai Chan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebComponentsContext
public WebComponentsContext(WebComponentDescriptor[] webComps)
WebComponentsContext
public WebComponentsContext(WebComponentContext[] webCompContexts)
- Create a new instance of WebComponentContext.
Note that, for performance, we don't make a safe copy of array here.
getWebComponentContexts
public WebComponentContext[] getWebComponentContexts()
- 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.