com.esri.aims.mtier.model.admin
Class SdeServersCollection

java.lang.Object
  extended by com.esri.aims.mtier.model.admin.SdeServersCollection

public class SdeServersCollection
extends Object

Implements a collection of ArcSDE Servers administrated by an ArcIMS Monitor.


Constructor Summary
SdeServersCollection()
          Constructs an instance of the SdeServersCollection object.
SdeServersCollection(ConnectionProxy connection, String monitor)
          Constructs an instance of the SdeServersCollection object using the given ConnectionProxy object and ArcIMS Monitor.
 
Method Summary
 void addServer(SdeServer server)
          Adds the specified ArcSDE server to the collection.
 SdeServer getSdeServer(int index)
          Returns the ArcSDE server at given index.
 void rereadSdeInstances(ConnectionProxy connection, String monitor)
           
 void setSdeServers(ConnectionProxy connection, String monitor)
          Sets this SdeServerCollections with given ArcIMS Monitor.
 int size()
          Returns the size of this collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SdeServersCollection

public SdeServersCollection()
Constructs an instance of the SdeServersCollection object.


SdeServersCollection

public SdeServersCollection(ConnectionProxy connection,
                            String monitor)
                     throws ConnectionParameterException,
                            AuthenticationException,
                            com.esri.aims.mtier.io.http.UnableToPingEsrimapException,
                            com.esri.aims.mtier.model.axl.AXLAttributeException,
                            com.esri.aims.mtier.model.axl.ErrorAndWarningException
Constructs an instance of the SdeServersCollection object using the given ConnectionProxy object and ArcIMS Monitor.

Throws:
ConnectionParameterException
AuthenticationException
com.esri.aims.mtier.io.http.UnableToPingEsrimapException
com.esri.aims.mtier.model.axl.AXLAttributeException
com.esri.aims.mtier.model.axl.ErrorAndWarningException
Method Detail

setSdeServers

public void setSdeServers(ConnectionProxy connection,
                          String monitor)
Sets this SdeServerCollections with given ArcIMS Monitor.

Parameters:
connection - the ConnectionProxy object.
monitor - the ArcIMS Monitor

rereadSdeInstances

public void rereadSdeInstances(ConnectionProxy connection,
                               String monitor)
                        throws ConnectionParameterException,
                               AuthenticationException,
                               com.esri.aims.mtier.io.http.UnableToPingEsrimapException,
                               com.esri.aims.mtier.model.axl.AXLAttributeException,
                               com.esri.aims.mtier.model.axl.ErrorAndWarningException
Throws:
ConnectionParameterException
AuthenticationException
com.esri.aims.mtier.io.http.UnableToPingEsrimapException
com.esri.aims.mtier.model.axl.AXLAttributeException
com.esri.aims.mtier.model.axl.ErrorAndWarningException

addServer

public void addServer(SdeServer server)
Adds the specified ArcSDE server to the collection.


getSdeServer

public SdeServer getSdeServer(int index)
Returns the ArcSDE server at given index.


size

public int size()
Returns the size of this collection.