| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.geronimo.jmxremoting.JMXConnector
public class JMXConnector
A Connector that supports the server sideof JSR 160 JMX Remoting.
| Field Summary | |
|---|---|
static org.apache.geronimo.gbean.GBeanInfo | 
GBEAN_INFO
 | 
| Constructor Summary | |
|---|---|
JMXConnector(org.apache.geronimo.system.jmx.MBeanServerReference mbeanServerReference,
                         String objectName,
                         ClassLoader classLoader)
 | 
|
JMXConnector(MBeanServer mbeanServer,
                         String objectName,
                         ClassLoader classLoader)
Constructor for creating the connector.  | 
|
| Method Summary | |
|---|---|
 void | 
doFail()
 | 
 void | 
doStart()
 | 
 void | 
doStop()
 | 
 String | 
getApplicationConfigName()
Return the name of the JAAS Application Configuration Entry this connector uses to authenticate users.  | 
static org.apache.geronimo.gbean.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 org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
| Constructor Detail | 
|---|
public JMXConnector(org.apache.geronimo.system.jmx.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 connector| Method Detail | 
|---|
public String getApplicationConfigName()
public void setApplicationConfigName(String applicationConfigName)
applicationConfigName - the authentication configuration namepublic InetSocketAddress getListenAddress()
public String getProtocol()
public void setProtocol(String protocol)
protocol - the protocol to use for the connectionpublic String getHost()
public void setHost(String host)
host - the JMX host for this connectorpublic int getPort()
public void setPort(int port)
port - the JMX port for this connectorpublic String getUrlPath()
public void setUrlPath(String urlPath)
urlPath - the path used to loacate the connector on the target server
public void doStart()
             throws Exception
doStart in interface org.apache.geronimo.gbean.GBeanLifecycleException
public void doStop()
            throws Exception
doStop in interface org.apache.geronimo.gbean.GBeanLifecycleExceptionpublic void doFail()
doFail in interface org.apache.geronimo.gbean.GBeanLifecyclepublic static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||