connectAdmin
public void connectAdmin(String host,
int port,
String user,
String passwd)
throws Exception
connectJndi
public void connectJndi(String host,
int port,
String ctxName)
throws NamingException
createConnectionFactory
public void createConnectionFactory(String host,
int port,
String name,
String type)
throws Exception
createDestination
public void createDestination(org.objectweb.joram.client.tools.admin.ServerTreeNode serverNode,
String name,
String type)
throws Exception
createUser
public void createUser(org.objectweb.joram.client.tools.admin.ServerTreeNode serverNode,
String name,
String passwd)
throws Exception
deleteObject
public void deleteObject(org.objectweb.joram.client.tools.admin.JndiTreeNode node)
throws Exception
deleteUser
public void deleteUser(org.objectweb.joram.client.tools.admin.UserTreeNode node)
throws Exception
disconnectAdmin
public void disconnectAdmin()
throws Exception
disconnectJndi
public void disconnectJndi()
throws NamingException
findDestinationJndiName
protected String findDestinationJndiName(Destination dest)
findJndiNodeByName
public org.objectweb.joram.client.tools.admin.JndiTreeNode findJndiNodeByName(String name)
getAdminConnectionStatus
public String getAdminConnectionStatus()
getAdminTreeModel
protected DefaultTreeModel getAdminTreeModel()
getAuthorizedReaders
public List getAuthorizedReaders(Destination dest)
throws Exception
getAuthorizedWriters
public List getAuthorizedWriters(Destination dest)
throws Exception
getDefaultDMQ
public DeadMQueue getDefaultDMQ(int serverId)
throws Exception
getDefaultThreshold
public int getDefaultThreshold(int serverId)
throws Exception
getDestinationDMQ
public DeadMQueue getDestinationDMQ(Destination dest)
throws Exception
getJndiTreeModel
protected DefaultTreeModel getJndiTreeModel()
getPendingMessages
public int getPendingMessages(Queue q)
throws Exception
getPendingRequests
public int getPendingRequests(Queue q)
throws Exception
getQueueThreshold
public int getQueueThreshold(Queue queue)
throws Exception
getSubscriptions
public int getSubscriptions(Topic t)
throws Exception
getUserThreshold
public int getUserThreshold(User user)
throws Exception
isAdminConnected
public boolean isAdminConnected()
isFreelyReadable
public boolean isFreelyReadable(Destination dest)
throws Exception
isFreelyWritable
public boolean isFreelyWritable(Destination dest)
throws Exception
isJndiConnected
public boolean isJndiConnected()
refreshAdminData
public void refreshAdminData()
throws ConnectException
refreshJndiData
public void refreshJndiData()
throws NamingException
setDefaultDMQ
public void setDefaultDMQ(int serverId,
DeadMQueue dmq)
throws Exception
setDefaultThreshold
public void setDefaultThreshold(int serverId,
int threshold)
throws Exception
setDestinationDMQ
public void setDestinationDMQ(Destination dest,
DeadMQueue dmq)
throws Exception
setFreeReading
public void setFreeReading(Destination dest)
throws Exception
setFreeWriting
public void setFreeWriting(Destination dest)
throws Exception
setQueueThreshold
public void setQueueThreshold(Queue queue,
int threshold)
throws Exception
setReader
public void setReader(User user,
Destination dest)
throws Exception
setUserDMQ
public void setUserDMQ(User user,
DeadMQueue dmq)
throws Exception
setUserThreshold
public void setUserThreshold(User user,
int threshold)
throws Exception
setWriter
public void setWriter(User user,
Destination dest)
throws Exception
stopServer
public void stopServer(org.objectweb.joram.client.tools.admin.ServerTreeNode stn)
throws Exception
unsetDefaultDMQ
public void unsetDefaultDMQ(int serverId)
throws Exception
unsetDefaultThreshold
public void unsetDefaultThreshold(int serverId)
throws Exception
unsetDestinationDMQ
public void unsetDestinationDMQ(Destination dest)
throws Exception
unsetFreeReading
public void unsetFreeReading(Destination dest)
throws Exception
unsetFreeWriting
public void unsetFreeWriting(Destination dest)
throws Exception
unsetQueueThreshold
public void unsetQueueThreshold(Queue queue)
throws Exception
unsetReader
public void unsetReader(User user,
Destination dest)
throws Exception
unsetUserDMQ
public void unsetUserDMQ(User user)
throws Exception
unsetUserThreshold
public void unsetUserThreshold(User user)
throws Exception
unsetWriter
public void unsetWriter(User user,
Destination dest)
throws Exception
updateUser
public void updateUser(org.objectweb.joram.client.tools.admin.UserTreeNode userNode,
String name,
String passwd)
throws Exception