|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.exolab.jms.jndiadministration.AdminConnection
|
+--org.exolab.jms.jndiadministration.OnlineConnection
Connects to the OpenJMSServer for all updates and requests.
Note: The OpenJMSServer must be active and in a running state for this type of connection to succeed.
AdminConnection,
AdminMgr| Fields inherited from class org.exolab.jms.jndiadministration.AdminConnection |
instance_ |
| Constructor Summary | |
OnlineConnection(java.awt.Component parent)
Connect to the Admin Server |
|
| Method Summary | |
void |
close()
Close the connection. |
void |
createContext(java.lang.String name)
Create a new context with the given name. |
void |
destroyContext(java.lang.String name)
Destroy context with the given name. |
java.util.Enumeration |
getAllContexts(java.lang.String name)
Get an enumerated list of all the Contexts |
java.lang.Object |
lookup(java.lang.String context)
Return the object associated with this context. |
void |
rebind(java.lang.String name,
java.lang.Object ob)
Rebind the context with the given object. |
void |
renameContext(java.lang.String oldName,
java.lang.String newName)
Rename context with the given name. |
| Methods inherited from class org.exolab.jms.jndiadministration.AdminConnection |
instance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OnlineConnection(java.awt.Component parent)
throws OnlineConnectionException
OnlineConnectionException - When online connection fails.| Method Detail |
public void close()
close in class AdminConnectionpublic java.util.Enumeration getAllContexts(java.lang.String name)
getAllContexts in class AdminConnectionpublic java.lang.Object lookup(java.lang.String context)
lookup in class AdminConnectioncontext - The context name
public void createContext(java.lang.String name)
throws javax.naming.NamingException
createContext in class AdminConnectionname - The new context name.NamingException - If the context cannot be created.
public void destroyContext(java.lang.String name)
throws javax.naming.NamingException
destroyContext in class AdminConnectionname - The new context name.NamingException - If the context cannot be created.
public void renameContext(java.lang.String oldName,
java.lang.String newName)
throws javax.naming.NamingException
renameContext in class AdminConnectionoldName - The old context namenewName - The new context nameNamingException - If the context cannot be created.
public void rebind(java.lang.String name,
java.lang.Object ob)
throws javax.naming.NamingException
rebind in class AdminConnectionname - The context nameob - The object to bind in this contextNamingException - If the context cannot be created.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||