Package com.sun.appserv.management.j2ee

Examples of com.sun.appserv.management.j2ee.JVM


   
    String  lastVendor  = null;
    String  lastVersion  = null;
    while ( iter.hasNext() )
    {
      final JVM  jvm  = (JVM)iter.next();
     
      // the ObjectName of the Node must match the String version for "node"
      assert( jvm.getnode() != null );
     
      // the JVMs should all have the same vendor (presumably)
      assert( jvm.getjavaVendor() != null );
      if ( lastVendor == null )
      {
        lastVendor  = jvm.getjavaVendor();
      }
      else
      {
        assert( lastVendor.equals( jvm.getjavaVendor() ) );
      }
     
      // the JVMs should all have the same version (presumably)
      assert( jvm.getjavaVersion() != null );
      if ( lastVersion == null )
      {
        lastVersion  = jvm.getjavaVersion();
      }
      else
      {
        assert( lastVersion.equals( jvm.getjavaVersion() ) );
      }
    }
  }
View Full Code Here


  }
 
    public String[]
  getjavaVMs()
  {
    final JVM  jvm  = getSelfProxy().getJVM();
   
    String[]  result  = null;
    if ( jvm == null )
    {
      result  = new String[ 0 ];
View Full Code Here

TOP

Related Classes of com.sun.appserv.management.j2ee.JVM

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.