org.mc4j.ems.impl.jmx.connection.support.providers
Class JBossConnectionProvider

java.lang.Object
  extended by org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider
      extended by org.mc4j.ems.impl.jmx.connection.support.providers.JBossConnectionProvider

public class JBossConnectionProvider
extends AbstractConnectionProvider

Represents a Connection to a JBoss JMX Server. This connection works against the JBoss RMI connector. If a principal and credentials are specified in the connection settings, JAAS is used to authenticate prior to each call.

Version:
$Revision: 599 $($Author: ianpspringer $ / $Date: 2009-07-10 17:35:14 -0400 (Fri, 10 Jul 2009) $)
Author:
Greg Hinkle (ghinkle@users.sourceforge.net), January 2002, Ian Springer

Field Summary
 
Fields inherited from class org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider
connectionFailure, connectionListeners, connectionRoundTrips, connectionSettings, existingConnection
 
Constructor Summary
JBossConnectionProvider()
           
 
Method Summary
protected  void doConnect()
           
 void doDisconnect()
           
 javax.management.MBeanServer getMBeanServer()
           
 void login()
           
 void logout()
           
 
Methods inherited from class org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider
addConnectionListener, compareTo, connect, disconnect, getConnectionSettings, getExistingConnection, getFailures, getMEJB, getRoundTrips, getStatsProxy, initialize, isConnected, removeConnectionListener, setConnected, setStatsProxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossConnectionProvider

public JBossConnectionProvider()
Method Detail

doConnect

protected void doConnect()
                  throws java.lang.Exception
Specified by:
doConnect in class AbstractConnectionProvider
Throws:
java.lang.Exception

doDisconnect

public void doDisconnect()
Overrides:
doDisconnect in class AbstractConnectionProvider

getMBeanServer

public javax.management.MBeanServer getMBeanServer()
Specified by:
getMBeanServer in class AbstractConnectionProvider

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