| java.lang.Object org.apache.geronimo.jmxremoting.JMXConnector
JMXConnector | public class JMXConnector implements JMXConnectorInfo,GBeanLifecycle(Code) | | A Connector that supports the server sideof JSR 160 JMX Remoting.
version: $Rev: 555111 $ $Date: 2007-07-10 16:25:31 -0700 (Tue, 10 Jul 2007) $ |
Field Summary | |
final public static GBeanInfo | GBEAN_INFO |
Method Summary | |
public void | doFail() | public void | doStart() | public void | doStop() | public String | getApplicationConfigName() Return the name of the JAAS Application Configuration Entry this
connector uses to authenticate users. | 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. | 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. | public void | setApplicationConfigName(String applicationConfigName) Set the name of the JAAS Application Configuration Entry this
connector should use to authenticate users. | 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. |
GBEAN_INFO | final public static GBeanInfo GBEAN_INFO(Code) | | |
JMXConnector | public JMXConnector(MBeanServerReference mbeanServerReference, String objectName, ClassLoader classLoader)(Code) | | |
JMXConnector | public JMXConnector(MBeanServer mbeanServer, String objectName, ClassLoader classLoader)(Code) | | 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 Parameters: objectName - this connector's object name Parameters: classLoader - the classLoader used to create this connector |
doFail | public void doFail()(Code) | | |
getApplicationConfigName | public String getApplicationConfigName()(Code) | | Return the name of the JAAS Application Configuration Entry this
connector uses to authenticate users. If null, users are not
be authenticated (not recommended).
the authentication configuration name |
getGBeanInfo | public static GBeanInfo getGBeanInfo()(Code) | | |
getHost | public String getHost()(Code) | | Gets the JMX host for this connector.
the JMX host for this connector |
getListenAddress | public InetSocketAddress getListenAddress()(Code) | | 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.
|
getPort | public int getPort()(Code) | | Gets the JMX port for this connector.
the JMX port for this connector |
getProtocol | public String getProtocol()(Code) | | Gets the protocol to use for the connection.
the protocol to use for the connection |
getUrlPath | public String getUrlPath()(Code) | | Gets the path within the target server to look for the connection. This is commonly
/jndi/rmi://localhost:1099/JMXConnector
the path used to loacate the connector on the target server |
setApplicationConfigName | public void setApplicationConfigName(String applicationConfigName)(Code) | | 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).
Parameters: applicationConfigName - the authentication configuration name |
setHost | public void setHost(String host)(Code) | | Sets the JMX host for this connector.
Parameters: host - the JMX host for this connector |
setPort | public void setPort(int port)(Code) | | Sets the JMX port for this connector.
Parameters: port - the JMX port for this connector |
setProtocol | public void setProtocol(String protocol)(Code) | | Sets the protocol to use for the connection.
Parameters: protocol - the protocol to use for the connection |
setUrlPath | public void setUrlPath(String urlPath)(Code) | | Sets the path within the target server to look for the connection. This is commonly
/jndi/rmi://localhost:1099/JMXConnector
Parameters: urlPath - the path used to loacate the connector on the target server |
|
|