|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.joram.client.jms.admin.JoramAdmin
| Field Summary | |
PlatformAdmin |
platformAdmin
|
long |
timeOut
|
| Constructor Summary | |
JoramAdmin()
|
|
JoramAdmin(java.lang.String hostName,
int port,
java.lang.String name,
java.lang.String password,
int cnxTimer)
|
|
JoramAdmin(java.lang.String hostName,
int port,
java.lang.String name,
java.lang.String password,
int cnxTimer,
java.lang.String reliableClass)
|
|
JoramAdmin(java.lang.String name,
java.lang.String password)
|
|
JoramAdmin(javax.jms.TopicConnectionFactory cnxFact,
java.lang.String name,
java.lang.String password)
|
|
| Method Summary | |
javax.jms.Destination |
createQueue(int serverId,
java.lang.String name)
Creates or retrieves a queue destination on the underlying JORAM server, (re)binds the corresponding Queue instance. |
javax.jms.Destination |
createQueue(int serverId,
java.lang.String name,
java.lang.String className,
java.util.Properties prop)
Creates or retrieves a queue destination on the underlying JORAM server, (re)binds the corresponding Queue instance. |
javax.jms.Destination |
createQueue(java.lang.String name)
Creates or retrieves a queue destination on the underlying JORAM server, (re)binds the corresponding Queue instance. |
javax.jms.Destination |
createTopic(int serverId,
java.lang.String name)
Creates or retrieves a topic destination on the underlying JORAM server, (re)binds the corresponding Topic instance. |
javax.jms.Destination |
createTopic(int serverId,
java.lang.String name,
java.lang.String className,
java.util.Properties prop)
Creates or retrieves a topic destination on the underlying JORAM server, (re)binds the corresponding Topic instance. |
javax.jms.Destination |
createTopic(java.lang.String name)
Creates or retrieves a topic destination on the underlying JORAM server, (re)binds the corresponding Topic instance. |
void |
createUser(java.lang.String name,
java.lang.String password)
Creates or retrieves a user on the underlying JORAM server. |
void |
createUser(java.lang.String name,
java.lang.String password,
int serverId)
Creates or retrieves a user on the underlying JORAM server. |
void |
exit()
|
DeadMQueue |
getDefaultDMQ()
Returns the default dead message queue for the local server, null if not set. |
DeadMQueue |
getDefaultDMQ(int serverId)
Returns the default dead message queue for a given server, null if not set. |
java.util.List |
getDestinations()
Returns the list of all destinations that exist on the local server, or an empty list if none exist. |
java.util.List |
getDestinations(int serverId)
Returns the list of all destinations that exist on a given server, or an empty list if none exist. |
PlatformAdmin |
getPlatformAdmin()
|
long |
getTimeOutToAbortRequest()
wait before abort a request. |
java.util.List |
getUsers()
Returns the list of all users that exist on the local server, or an empty list if none exist. |
java.util.List |
getUsers(int serverId)
Returns the list of all users that exist on a given server, or an empty list if none exist. |
void |
setDefaultDMQ(int serverId,
DeadMQueue dmq)
Sets a given dead message queue as the default DMQ for a given server ( null for unsetting previous DMQ). |
void |
setTimeOutToAbortRequest(long timeOut)
wait before abort a request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public long timeOut
public PlatformAdmin platformAdmin
| Constructor Detail |
public JoramAdmin()
throws java.net.UnknownHostException,
java.net.ConnectException,
AdminException
public JoramAdmin(java.lang.String hostName,
int port,
java.lang.String name,
java.lang.String password,
int cnxTimer,
java.lang.String reliableClass)
throws java.net.UnknownHostException,
java.net.ConnectException,
AdminException
public JoramAdmin(java.lang.String hostName,
int port,
java.lang.String name,
java.lang.String password,
int cnxTimer)
throws java.net.UnknownHostException,
java.net.ConnectException,
AdminException
public JoramAdmin(java.lang.String name,
java.lang.String password)
throws java.net.ConnectException,
AdminException
public JoramAdmin(javax.jms.TopicConnectionFactory cnxFact,
java.lang.String name,
java.lang.String password)
throws java.net.ConnectException,
AdminException
| Method Detail |
public PlatformAdmin getPlatformAdmin()
public void exit()
exit in interface JoramAdminMBeanpublic void setTimeOutToAbortRequest(long timeOut)
setTimeOutToAbortRequest in interface JoramAdminMBeanpublic long getTimeOutToAbortRequest()
getTimeOutToAbortRequest in interface JoramAdminMBean
public void setDefaultDMQ(int serverId,
DeadMQueue dmq)
throws java.net.ConnectException,
AdminException
null for unsetting previous DMQ).
The request fails if the target server does not belong to the platform.
setDefaultDMQ in interface JoramAdminMBeanserverId - The identifier of the server.dmq - The dmq to be set as the default one.
java.net.ConnectException - If the connection fails.
AdminException - If the request fails.
public DeadMQueue getDefaultDMQ(int serverId)
throws java.net.ConnectException,
AdminException
The request fails if the target server does not belong to the platform.
getDefaultDMQ in interface JoramAdminMBeanjava.net.ConnectException - If the connection fails.
AdminException - If the request fails.
public DeadMQueue getDefaultDMQ()
throws java.net.ConnectException,
AdminException
getDefaultDMQ in interface JoramAdminMBeanjava.net.ConnectException - If the connection fails.
AdminException - Never thrown.public java.util.List getDestinations(int serverId)
getDestinations in interface JoramAdminMBeanpublic java.util.List getDestinations()
getDestinations in interface JoramAdminMBeanpublic java.util.List getUsers(int serverId)
getUsers in interface JoramAdminMBeanpublic java.util.List getUsers()
getUsers in interface JoramAdminMBean
public void createUser(java.lang.String name,
java.lang.String password)
throws AdminException
createUser in interface JoramAdminMBeanAdminException - If the creation fails.
public void createUser(java.lang.String name,
java.lang.String password,
int serverId)
throws AdminException
createUser in interface JoramAdminMBeanAdminException - If the creation fails.
public javax.jms.Destination createQueue(java.lang.String name)
throws AdminException
Queue instance.
createQueue in interface JoramAdminMBeanname - The name of the queue.
AdminException - If the creation fails.
public javax.jms.Destination createQueue(int serverId,
java.lang.String name)
throws AdminException
Queue instance.
createQueue in interface JoramAdminMBeanserverId - The identifier of the server where deploying the queue.name - The name of the queue.
AdminException - If the creation fails.
public javax.jms.Destination createQueue(int serverId,
java.lang.String name,
java.lang.String className,
java.util.Properties prop)
throws AdminException
Queue instance.
createQueue in interface JoramAdminMBeanserverId - The identifier of the server where deploying the queue.name - The name of the queue.className - The queue class name.prop - The queue properties.
AdminException - If the creation fails.
public javax.jms.Destination createTopic(java.lang.String name)
throws AdminException
Topic instance.
createTopic in interface JoramAdminMBeanAdminException - If the creation fails.
public javax.jms.Destination createTopic(int serverId,
java.lang.String name)
throws AdminException
Topic instance.
createTopic in interface JoramAdminMBeanserverId - The identifier of the server where deploying the topic.name - The name of the topic.
AdminException - If the creation fails.
public javax.jms.Destination createTopic(int serverId,
java.lang.String name,
java.lang.String className,
java.util.Properties prop)
throws AdminException
Topic instance.
createTopic in interface JoramAdminMBeanserverId - The identifier of the server where deploying the topic.name - The name of the topic.className - The topic class name.prop - The topic properties.
AdminException - If the creation fails.
|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||