
Public Member Functions | |
| AdminController () | |
| void | setControllerEventListener (ControllerEventListener l) |
| void | connectJndi (String host, int port, String ctxName) throws NamingException |
| void | refreshJndiData () throws NamingException |
| void | disconnectJndi () throws NamingException |
| JndiTreeNode | findJndiNodeByName (String name) |
| void | connectAdmin (final String host, final int port, final String user, final String passwd) throws Exception |
| void | refreshAdminData () throws ConnectException, AdminException |
| void | disconnectAdmin () throws Exception |
| void | stopServer (ServerTreeNode stn) throws Exception |
| void | deleteServer (ServerTreeNode stn) throws Exception |
| void | deleteDomain (DomainTreeNode dtn) throws Exception |
| void | createConnectionFactory (String host, int port, String name, String type) throws Exception |
| void | createDestination (ServerTreeNode serverNode, String name, String type) throws Exception |
| void | deleteObject (JndiTreeNode node) throws Exception |
| void | createUser (ServerTreeNode serverNode, String name, String passwd) throws Exception |
| void | createDomain (ServerTreeNode serverNode, String domainName, int port) throws Exception |
| void | updateUser (UserTreeNode userNode, String name, String passwd) throws Exception |
| void | deleteUser (UserTreeNode node) throws Exception |
| void | deleteMessage (MessageTreeNode msgTn) throws Exception |
| void | clearSubscription (SubscriptionTreeNode subTn) throws Exception |
| void | clearQueue (QueueTreeNode queueTn) throws Exception |
| int | getPendingMessages (Queue q) throws Exception |
| int | getPendingRequests (Queue q) throws Exception |
| int | getSubscriptions (Topic t) throws Exception |
| int | getDefaultThreshold (int serverId) throws Exception |
| void | setDefaultThreshold (int serverId, int threshold) throws Exception |
| DeadMQueue | getDefaultDMQ (int serverId) throws Exception |
| void | setDefaultDMQ (int serverId, DeadMQueue dmq) throws Exception |
| void | unsetDefaultThreshold (int serverId) throws Exception |
| void | unsetDefaultDMQ (int serverId) throws Exception |
| int | getUserThreshold (User user) throws Exception |
| void | setUserThreshold (User user, int threshold) throws Exception |
| DeadMQueue | getUserDMQ (User user) throws Exception |
| void | setUserDMQ (User user, DeadMQueue dmq) throws Exception |
| void | unsetUserThreshold (User user) throws Exception |
| void | unsetUserDMQ (User user) throws Exception |
| int | getQueueThreshold (Queue queue) throws Exception |
| void | setQueueThreshold (Queue queue, int threshold) throws Exception |
| DeadMQueue | getDestinationDMQ (Destination dest) throws Exception |
| void | setDestinationDMQ (Destination dest, DeadMQueue dmq) throws Exception |
| void | unsetQueueThreshold (Queue queue) throws Exception |
| void | unsetDestinationDMQ (Destination dest) throws Exception |
| boolean | isFreelyReadable (Destination dest) throws Exception |
| boolean | isFreelyWritable (Destination dest) throws Exception |
| void | setFreeReading (Destination dest) throws Exception |
| void | setFreeWriting (Destination dest) throws Exception |
| void | unsetFreeReading (Destination dest) throws Exception |
| void | unsetFreeWriting (Destination dest) throws Exception |
| List | getAuthorizedReaders (Destination dest) throws Exception |
| List | getAuthorizedWriters (Destination dest) throws Exception |
| void | setReader (User user, Destination dest) throws Exception |
| void | setWriter (User user, Destination dest) throws Exception |
| void | unsetReader (User user, Destination dest) throws Exception |
| void | unsetWriter (User user, Destination dest) throws Exception |
| String | getAdminConnectionStatus () |
| boolean | isAdminConnected () |
| boolean | isJndiConnected () |
Static Public Attributes | |
| static final String | DEFAULT_ADMIN_HOST = "localhost" |
| static final String | DEFAULT_ADMIN_PORT = "16010" |
| static final String | PROP_JNDI_FACTORY = "java.naming.factory.initial" |
| static final String | PROP_JNDI_HOST = "java.naming.factory.host" |
| static final String | PROP_JNDI_PORT = "java.naming.factory.port" |
| static final String | DEFAULT_JNDI_FACTORY = "fr.dyade.aaa.jndi2.client.NamingContextFactory" |
| static final String | DEFAULT_JNDI_HOST = "localhost" |
| static final String | DEFAULT_JNDI_PORT = "16400" |
Protected Member Functions | |
| DefaultTreeModel | getAdminTreeModel () |
| DefaultTreeModel | getJndiTreeModel () |
| String | findDestinationJndiName (Destination dest) |
| void | notifyListener (ControllerEvent e) |
Package Functions | |
| void | updateDestinations (int serverId, MutableTreeNode destinationRoot) throws ConnectException, AdminException |
| void | updateUsers (int serverId, MutableTreeNode userRoot) throws ConnectException, AdminException |
Definition at line 41 of file AdminController.java.
1.5.0