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

JVMMdl

public class JVMMdl extends J2EEManagedObjectMdl

Fields Summary
private static String
MANAGED_OBJECT_TYPE
private String
jvmName
Constructors Summary
public JVMMdl(String name)

      
        super(name,false,false,false);
        this.jvmName = name;
    
public JVMMdl(String name, String serverName)

        super(name,serverName,false,false,false);
        this.jvmName = name;
    
public JVMMdl(String[] location)

        this(location[2], location[1]);
    
Methods Summary
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;
    
public java.lang.StringgetjavaVendor()

 return System.getProperty("java.vendor"); 
public java.lang.StringgetjavaVersion()

 return System.getProperty("java.version"); 
public java.lang.Stringgetnode()

        try {
        	return java.net.InetAddress.getLocalHost().toString();
        } catch(Exception e) {
            return null;
        }