com.sun.enterprise.v3.admin
Class MbeanService
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MbeanService
public MbeanService()
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.