Joram ${version}

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

public 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

public 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

public 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

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

disconnect

public void disconnect()

exit

public void exit()

stopServer

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

stopServer

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

addServer

public 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

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

addDomain

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

removeDomain

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

getConfiguration

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

getServersIds

public java.util.List getServersIds()

getServersIds

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

getDomainNames

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

setDefaultThreshold

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

setDefaultThreshold

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

getDefaultThreshold

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

getDefaultThreshold

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

getLocalServerId

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

getLocalHost

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

getLocalPort

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

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved