|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.jmx.Mx4jConnectorFactory
Manages the current mx4j RMIConnector used to communicate with the MBEanServer
Constructor Summary | |
Mx4jConnectorFactory()
|
Method Summary | |
static void |
createRMIConnector()
Create a RMI connector connected to the RMI adaptor created by the JOnAS jmxService |
static javax.naming.Context |
getContext()
|
static java.lang.String |
getCurrentRMIConnectorName()
|
static java.lang.String |
getJonasNamingServiceURL()
|
static mx4j.connector.rmi.RMIConnector |
getRMIConnector()
|
static java.util.Set |
getRMIConnectorsNames()
|
static void |
resetCurrentRMIConnectorName()
Set the currentRMIConnectorName to null |
static void |
setCurrentRMIConnectorName(java.lang.String name)
Set the currentRMIConnectorName to the specified value, then create an RMI connector |
static void |
setJonasNamingServiceURL(java.lang.String url)
Sets the PROVIDER_URL property to the specified value. |
static void |
setNamingEnvCtx(java.util.Properties env)
Create a new naming context based on the given env. properties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Mx4jConnectorFactory()
Method Detail |
public static javax.naming.Context getContext() throws javax.naming.NamingException
javax.naming.NamingException
public static java.lang.String getCurrentRMIConnectorName()
public static void setCurrentRMIConnectorName(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public static void resetCurrentRMIConnectorName()
public static java.util.Set getRMIConnectorsNames() throws javax.naming.NamingException
javax.naming.NamingException
public static java.lang.String getJonasNamingServiceURL()
public static void setNamingEnvCtx(java.util.Properties env) throws javax.naming.NamingException
env
- properties to create a new naming context
javax.naming.NamingException
public static void setJonasNamingServiceURL(java.lang.String url) throws javax.naming.NamingException
javax.naming.NamingException
public static mx4j.connector.rmi.RMIConnector getRMIConnector() throws java.lang.Exception
java.lang.Exception
public static void createRMIConnector() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |