Joram 4.3.28

org.objectweb.joram.client.jms.admin
Interface PlatformAdminMBean

All Known Implementing Classes:
PlatformAdmin

public interface PlatformAdminMBean


Method Summary
 void addDomain(java.lang.String domainName, int sid, int port)
           
 void addServer(int sid, java.lang.String hostName, java.lang.String domainName, int port, java.lang.String serverName)
           
 void collocatedConnect(java.lang.String name, java.lang.String password)
           
 void connect(java.lang.String hostName, int port, java.lang.String name, java.lang.String password, int cnxTimer, java.lang.String reliableClass)
           
 void connect(java.lang.String name, java.lang.String password, int cnxTimer)
           
 void connect(javax.jms.TopicConnectionFactory cnxFact, java.lang.String name, java.lang.String password)
           
 void disconnect()
           
 void exit()
           
 java.lang.String getConfiguration()
           
 int getDefaultThreshold()
           
 int getDefaultThreshold(int serverId)
           
 java.lang.String[] getDomainNames(int serverId)
           
 java.lang.String getLocalHost()
           
 int getLocalPort()
           
 int getLocalServerId()
           
 java.util.List getServersIds()
           
 java.util.List getServersIds(java.lang.String domainName)
           
 void removeDomain(java.lang.String domainName)
           
 void removeServer(int sid)
           
 void setDefaultThreshold(int threshold)
           
 void setDefaultThreshold(int serverId, int threshold)
           
 void stopServer()
           
 void stopServer(int serverId)
           
 

Method Detail

connect

void connect(javax.jms.TopicConnectionFactory cnxFact,
             java.lang.String name,
             java.lang.String password)
             throws java.net.ConnectException,
                    AdminException
Throws:
java.net.ConnectException
AdminException

connect

void connect(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
Throws:
java.net.UnknownHostException
java.net.ConnectException
AdminException

connect

void connect(java.lang.String name,
             java.lang.String password,
             int cnxTimer)
             throws java.net.UnknownHostException,
                    java.net.ConnectException,
                    AdminException
Throws:
java.net.UnknownHostException
java.net.ConnectException
AdminException

collocatedConnect

void collocatedConnect(java.lang.String name,
                       java.lang.String password)
                       throws java.net.ConnectException,
                              AdminException
Throws:
java.net.ConnectException
AdminException

disconnect

void disconnect()

exit

void exit()

stopServer

void stopServer(int serverId)
                throws java.net.ConnectException,
                       AdminException
Throws:
java.net.ConnectException
AdminException

stopServer

void stopServer()
                throws java.net.ConnectException,
                       AdminException
Throws:
java.net.ConnectException
AdminException

addServer

void addServer(int sid,
               java.lang.String hostName,
               java.lang.String domainName,
               int port,
               java.lang.String serverName)
               throws java.net.ConnectException,
                      AdminException
Throws:
java.net.ConnectException
AdminException

removeServer

void removeServer(int sid)
                  throws java.net.ConnectException,
                         AdminException
Throws:
java.net.ConnectException
AdminException

addDomain

void addDomain(java.lang.String domainName,
               int sid,
               int port)
               throws java.net.ConnectException,
                      AdminException
Throws:
java.net.ConnectException
AdminException

removeDomain

void removeDomain(java.lang.String domainName)
                  throws java.net.ConnectException,
                         AdminException
Throws:
java.net.ConnectException
AdminException

getConfiguration

java.lang.String getConfiguration()
                                  throws java.net.ConnectException,
                                         AdminException
Throws:
java.net.ConnectException
AdminException

getServersIds

java.util.List getServersIds()

getServersIds

java.util.List getServersIds(java.lang.String domainName)
                             throws java.net.ConnectException,
                                    AdminException
Throws:
java.net.ConnectException
AdminException

getDomainNames

java.lang.String[] getDomainNames(int serverId)
                                  throws java.net.ConnectException,
                                         AdminException
Throws:
java.net.ConnectException
AdminException

setDefaultThreshold

void setDefaultThreshold(int serverId,
                         int threshold)
                         throws java.net.ConnectException,
                                AdminException
Throws:
java.net.ConnectException
AdminException

setDefaultThreshold

void setDefaultThreshold(int threshold)
                         throws java.net.ConnectException,
                                AdminException
Throws:
java.net.ConnectException
AdminException

getDefaultThreshold

int getDefaultThreshold(int serverId)
                        throws java.net.ConnectException,
                               AdminException
Throws:
java.net.ConnectException
AdminException

getDefaultThreshold

int getDefaultThreshold()
                        throws java.net.ConnectException,
                               AdminException
Throws:
java.net.ConnectException
AdminException

getLocalServerId

int getLocalServerId()
                     throws java.net.ConnectException
Throws:
java.net.ConnectException

getLocalHost

java.lang.String getLocalHost()
                              throws java.net.ConnectException
Throws:
java.net.ConnectException

getLocalPort

int getLocalPort()
                 throws java.net.ConnectException
Throws:
java.net.ConnectException

Joram 4.3.28

Copyright © 2005 Scalagent - All rights reserved