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

AppClientContext

public class AppClientContext extends ResourceContainerContextImpl
This provides a context for Application Client.
Author
Shing Wai Chan

Fields Summary
Constructors Summary
public AppClientContext(com.sun.enterprise.deployment.ApplicationClientDescriptor appClientDescriptor)

        super(appClientDescriptor);
        componentClassName = appClientDescriptor.getMainClassName();
    
Methods Summary
public com.sun.enterprise.deployment.ApplicationClientDescriptorgetDescriptor()

        return (ApplicationClientDescriptor)descriptor;
    
public com.sun.enterprise.deployment.types.HandlerChainContainer[]getHandlerChainContainers(boolean serviceSideHandlerChain, java.lang.Class declaringClass)

        if(serviceSideHandlerChain) {
            // We should not come here at all - anyway return null
            return null;
        } else {
            List<ServiceReferenceDescriptor> result = new ArrayList<ServiceReferenceDescriptor>();
            result.addAll(getDescriptor().getServiceReferenceDescriptors());
            return(result.toArray(new HandlerChainContainer[0]));
        }