FileDocCategorySizeDatePackage
ServletMdl.javaAPI DocGlassfish v2 API4200Fri May 04 22:24:16 BST 2007com.sun.enterprise.management.model

ServletMdl

public class ServletMdl extends J2EEManagedObjectMdl

Fields Summary
private static String
MANAGED_OBJECT_TYPE
private String
webModuleName
private String
applicationName
private String
servletName
Constructors Summary
public ServletMdl(String name, String bundleName, String appName)

           
        super(name,false,false,false);      
        this.webModuleName = bundleName;
        this.servletName = name;
        this.applicationName = appName;
        if(J2EEModuleMdl.isStandAloneModule(applicationName))
           this.applicationName = "null";
    
public ServletMdl(String name, String bundleName, String appName, String serverName)

        super(name,serverName,false,false,false);      
        this.webModuleName = bundleName;
        this.servletName = name;
        this.applicationName = appName;
        if(J2EEModuleMdl.isStandAloneModule(applicationName))
           this.applicationName = "null";
    
Methods Summary
public java.lang.StringgetJ2EEApplication()
Accessor method for the parent key

       return this.applicationName;
    
public java.lang.StringgetWebModule()
Accessor method for the parent key

       return this.webModuleName;
    
public java.lang.Stringgetj2eeType()
The type of the J2EEManagedObject as specified by JSR77. The class that implements a specific type must override this method and return the appropriate type string.

        return MANAGED_OBJECT_TYPE;