|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.jmxremoting.JMXConnector
public class JMXConnector
A Connector that supports the server sideof JSR 160 JMX Remoting.
Field Summary | |
---|---|
static GBeanInfo |
GBEAN_INFO
|
Constructor Summary | |
---|---|
JMXConnector(MBeanServerReference mbeanServerReference,
String objectName,
ClassLoader classLoader)
|
|
JMXConnector(MBeanServer mbeanServer,
String objectName,
ClassLoader classLoader)
Constructor for creating the connector. |
Method Summary | |
---|---|
void |
doFail()
Fails the GBean. |
void |
doStart()
Starts the GBean. |
void |
doStop()
Stops the target. |
String |
getApplicationConfigName()
Return the name of the JAAS Application Configuration Entry this connector uses to authenticate users. |
static GBeanInfo |
getGBeanInfo()
|
String |
getHost()
Gets the JMX host for this connector. |
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. |
int |
getPort()
Gets the JMX port for this connector. |
String |
getProtocol()
Gets the protocol to use for the connection. |
String |
getUrlPath()
Gets the path within the target server to look for the connection. |
void |
setApplicationConfigName(String applicationConfigName)
Set the name of the JAAS Application Configuration Entry this connector should use to authenticate users. |
void |
setHost(String host)
Sets the JMX host for this connector. |
void |
setPort(int port)
Sets the JMX port for this connector. |
void |
setProtocol(String protocol)
Sets the protocol to use for the connection. |
void |
setUrlPath(String urlPath)
Sets the path within the target server to look for the connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final GBeanInfo GBEAN_INFO
Constructor Detail |
---|
public JMXConnector(MBeanServerReference mbeanServerReference, String objectName, ClassLoader classLoader)
public JMXConnector(MBeanServer mbeanServer, String objectName, ClassLoader classLoader)
mbeanServer
- the mbean serverobjectName
- this connector's object nameclassLoader
- the classLoader used to create this connectorMethod Detail |
---|
public String getApplicationConfigName()
public void setApplicationConfigName(String applicationConfigName)
applicationConfigName
- the authentication configuration namepublic InetSocketAddress getListenAddress()
getListenAddress
in interface JMXConnectorInfo
public String getProtocol()
getProtocol
in interface JMXConnectorInfo
public void setProtocol(String protocol)
setProtocol
in interface JMXConnectorInfo
protocol
- the protocol to use for the connectionpublic String getHost()
getHost
in interface JMXConnectorInfo
public void setHost(String host)
setHost
in interface JMXConnectorInfo
host
- the JMX host for this connectorpublic int getPort()
getPort
in interface JMXConnectorInfo
public void setPort(int port)
setPort
in interface JMXConnectorInfo
port
- the JMX port for this connectorpublic String getUrlPath()
getUrlPath
in interface JMXConnectorInfo
public void setUrlPath(String urlPath)
setUrlPath
in interface JMXConnectorInfo
urlPath
- the path used to loacate the connector on the target serverpublic void doStart() throws Exception
GBeanLifecycle
doStart
in interface GBeanLifecycle
Exception
- if the target failed to start; this will cause a transition to the failed statepublic void doStop() throws Exception
GBeanLifecycle
doStop
in interface GBeanLifecycle
Exception
- if the target failed to stop; this will cause a transition to the failed statepublic void doFail()
GBeanLifecycle
doFail
in interface GBeanLifecycle
public static GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |