FileDocCategorySizeDatePackage
ExcludeListNode.javaAPI DocGlassfish v2 API3515Fri May 04 22:31:40 BST 2007com.sun.enterprise.deployment.node.ejb

ExcludeListNode

public class ExcludeListNode extends com.sun.enterprise.deployment.node.DeploymentDescriptorNode
This class is responsible for handling the exclude-list DD tag
author
Jeromeochez
version

Fields Summary
private com.sun.enterprise.deployment.MethodPermissionDescriptor
descriptor
Constructors Summary
public ExcludeListNode()
Creates new ExcludeListNode

       registerElementHandler(new XMLElement(EjbTagNames.METHOD), 
                                                            MethodNode.class, "addMethod");                                 
    
Methods Summary
public java.lang.ObjectgetDescriptor()

return
the Descriptor subclass that was populated by reading the source XML file

        if (descriptor==null) {
            descriptor = (MethodPermissionDescriptor) DescriptorFactory.getDescriptor(getXMLPath());
            descriptor.addMethodPermission(MethodPermission.getExcludedMethodPermission());
        }
        return descriptor;