FileDocCategorySizeDatePackage
WebComponentContext.javaAPI DocGlassfish v2 API3204Fri May 04 22:31:32 BST 2007com.sun.enterprise.deployment.annotation.context

WebComponentContext

public class WebComponentContext extends ResourceContainerContextImpl
This provides a context for a of web component.
author
Shing Wai Chan

Fields Summary
private com.sun.enterprise.deployment.WebComponentDescriptor
webComp
Constructors Summary
public WebComponentContext(com.sun.enterprise.deployment.WebComponentDescriptor wComp)


       
        setDescriptor(wComp);
        if (wComp.isServlet()) {
            componentClassName = wComp.getWebComponentImplementation();
        }
    
Methods Summary
public voidendElement(java.lang.annotation.ElementType type, java.lang.reflect.AnnotatedElement element)

        
        if (ElementType.TYPE.equals(type)) {
            // done with processing this class, let's pop this context
            getProcessingContext().popHandler();
        }
    
public com.sun.enterprise.deployment.WebComponentDescriptorgetDescriptor()

        return webComp;
    
public voidsetDescriptor(com.sun.enterprise.deployment.WebComponentDescriptor webComp)

        this.webComp = webComp;
        descriptor = webComp.getWebBundleDescriptor();