|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.jmx.ConnectorFactory
Manages the current "jonas provided" RMIConnector used to communicate with the MBEanServer.
Constructor Summary | |
ConnectorFactory()
|
Method Summary | |
static javax.naming.Context |
getContext()
|
static java.lang.String |
getCurrentRMIConnectorName()
|
static java.lang.String |
getJonasNamingServiceURL()
|
static RMIConnector |
getRMIConnector()
|
static java.util.Set |
getRMIConnectorsNames()
|
static void |
lookupRMIConnector()
Lookup for the RMI connector registered with the currentRMIConnectorName JNDI name. |
static void |
resetCurrentRMIConnectorName()
Set the currentRMIConnectorName to null |
static void |
setCurrentRMIConnectorName(java.lang.String name)
Set the currentRMIConnectorName to the specified value, then lookup for the 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConnectorFactory()
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 javax.naming.NamingException
javax.naming.NamingException
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 RMIConnector getRMIConnector() throws javax.naming.NamingException
javax.naming.NamingException
public static void lookupRMIConnector() throws javax.naming.NamingException
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |