org.rhq.plugins.jslee.utils
Class MBeanServerUtils

java.lang.Object
  extended by org.rhq.plugins.jslee.utils.MBeanServerUtils

public class MBeanServerUtils
extends java.lang.Object


Constructor Summary
MBeanServerUtils(java.lang.String namingURL, java.lang.String principal, java.lang.String credentials)
           
 
Method Summary
 javax.management.MBeanServerConnection getConnection()
           
 void login()
           
 void logout()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanServerUtils

public MBeanServerUtils(java.lang.String namingURL,
                        java.lang.String principal,
                        java.lang.String credentials)
Method Detail

getConnection

public javax.management.MBeanServerConnection getConnection()
                                                     throws javax.naming.NamingException
Throws:
javax.naming.NamingException

login

public void login()
           throws javax.security.auth.login.LoginException
Throws:
javax.security.auth.login.LoginException

logout

public void logout()
            throws javax.security.auth.login.LoginException
Throws:
javax.security.auth.login.LoginException


Copyright © 2012. All Rights Reserved.