com.esri.arcgis.server
Class SOMController

java.lang.Object
  extended by com.esri.arcgis.server.SOMController
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISOMController, Serializable

public class SOMController
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISOMController

The SOMController object which provides access to members that start and stop ArcGIS server.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
SOMController()
          Constructs a SOMController using ArcGIS Engine.
SOMController(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SOMController theSOMController = (SOMController) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 boolean isStarted()
          Indicates if the server is started(true) or not(false).
 void start()
          Starts the SOM.
 void stop()
          Stops the SOM.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

SOMController

public SOMController()
              throws IOException,
                     UnknownHostException
Constructs a SOMController using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SOMController

public SOMController(Object obj)
              throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SOMController theSOMController = (SOMController) obj;

Construct a SOMController using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SOMController.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

start

public void start()
           throws IOException,
                  AutomationException
Starts the SOM.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
start in interface ISOMController
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stop

public void stop()
          throws IOException,
                 AutomationException
Stops the SOM.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
stop in interface ISOMController
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isStarted

public boolean isStarted()
                  throws IOException,
                         AutomationException
Indicates if the server is started(true) or not(false).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isStarted in interface ISOMController
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.