com.sun.enterprise.v3.admin
Class MbeanService

java.lang.Object
  extended by com.sun.enterprise.v3.admin.MbeanService
All Implemented Interfaces:
Startup

@Service
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class MbeanService
extends Object
implements Startup


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.api.Startup
Startup.Lifecycle
 
Constructor Summary
MbeanService()
           
 
Method Summary
 List<String> getAllInstances()
           
 String getHost(String instance)
           
static MbeanService getInstance()
           
 List<String> getInstances(String name)
           
 String getJMXPort(String instance)
           
 Startup.Lifecycle getLifecycle()
           
 boolean isDas()
           
 boolean isInstance(String name)
           
 boolean isSecureJMX(String instance)
          Returns if the SystemJMXConnector is secure or not
 boolean isValidServer(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MbeanService

public MbeanService()
Method Detail

getLifecycle

public Startup.Lifecycle getLifecycle()
Specified by:
getLifecycle in interface Startup

getInstance

public static MbeanService getInstance()

getHost

public String getHost(String instance)
               throws InstanceNotFoundException
Throws:
InstanceNotFoundException

getJMXPort

public String getJMXPort(String instance)
                  throws InstanceNotFoundException
Throws:
InstanceNotFoundException

isDas

public boolean isDas()

isValidServer

public boolean isValidServer(String name)

getAllInstances

public List<String> getAllInstances()

getInstances

public List<String> getInstances(String name)

isInstance

public boolean isInstance(String name)

isSecureJMX

public boolean isSecureJMX(String instance)
Returns if the SystemJMXConnector is secure or not

Parameters:
instance -
Returns:


Copyright © 2012. All Rights Reserved.