Home » geronimo-2.2-source-release » org.apache.geronimo.jmxremoting » [javadoc | source]
org.apache.geronimo.jmxremoting
public class: JMXConnector [javadoc | source]
java.lang.Object
   org.apache.geronimo.jmxremoting.JMXConnector

All Implemented Interfaces:
    GBeanLifecycle, JMXConnectorInfo

Direct Known Subclasses:
    JMXSecureConnector

A connector that supports the server side of JSR 160 JMX Remoting.
Field Summary
protected final  MBeanServer mbeanServer     
protected final  Logger log     
protected final  ClassLoader classLoader     
protected  String applicationConfigName     
protected  String protocol     
protected  String host     
protected  int port     
protected  String urlPath     
protected  JMXConnectorServer server     
protected  JMXServiceURL jmxServiceURL     
public static final  GBeanInfo GBEAN_INFO     
Constructor:
 public JMXConnector(MBeanServerReference mbeanServerReference,
    String objectName,
    ClassLoader classLoader) 
 public JMXConnector(MBeanServer mbeanServer,
    String objectName,
    ClassLoader classLoader) 
    Constructor for creating the connector. The ClassLoader must be able to load all the LoginModules used in the JAAS login
    Parameters:
    mbeanServer - the mbean server
    objectName - this connector's object name
    classLoader - the classLoader used to create this connector
Method from org.apache.geronimo.jmxremoting.JMXConnector Summary:
doFail,   doStart,   doStop,   getApplicationConfigName,   getGBeanInfo,   getHost,   getListenAddress,   getPort,   getProtocol,   getUrlPath,   setApplicationConfigName,   setHost,   setPort,   setProtocol,   setUrlPath
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.jmxremoting.JMXConnector Detail:
 public  void doFail() 
 public  void doStart() throws Exception 
 public  void doStop() throws Exception 
 public String getApplicationConfigName() 
    Return the name of the JAAS Application Configuration Entry this connector uses to authenticate users. If null, users are not be authenticated (not recommended).
 public static GBeanInfo getGBeanInfo() 
 public String getHost() 
    Gets the JMX host for this connector.
 public InetSocketAddress getListenAddress() 
    Every connector must specify a property of type InetSocketAddress because we use that to identify the network services to print a list during startup. However, this can be read-only since the host and port are set in the url attribute.
 public int getPort() 
    Gets the JMX port for this connector.
 public String getProtocol() 
    Gets the protocol to use for the connection.
 public String getUrlPath() 
    Gets the path within the target server to look for the connection. This is commonly /jndi/rmi://localhost:1099/JMXConnector
 public  void setApplicationConfigName(String applicationConfigName) 
    Set the name of the JAAS Application Configuration Entry this connector should use to authenticate users. If null, users will not be authenticated (not recommended).
 public  void setHost(String host) 
    Sets the JMX host for this connector.
 public  void setPort(int port) 
    Sets the JMX port for this connector.
 public  void setProtocol(String protocol) 
    Sets the protocol to use for the connection.
 public  void setUrlPath(String urlPath) 
    Sets the path within the target server to look for the connection. This is commonly /jndi/rmi://localhost:1099/JMXConnector