com.esri.arcgis.server
Class ServerObjectConfigurationStatus

java.lang.Object
  extended by com.esri.arcgis.server.ServerObjectConfigurationStatus
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IServerObjectConfigurationStatus, java.io.Serializable

public class ServerObjectConfigurationStatus
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IServerObjectConfigurationStatus

COM Class 'ServerObjectConfigurationStatus'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriServer.olb'

Description 'The ServerObjectConfgurationStatus object which reports the status of a server object configuration.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.server.IServerObjectConfigurationStatus
IID, IID096b178f_2576_4aef_9cfa_8107d529bbff, xxDummy
 
Constructor Summary
ServerObjectConfigurationStatus(java.lang.Object obj)
          Construct a ServerObjectConfigurationStatus using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 int getInstanceCount()
          Number of instances of server objects for a particular configuration that are currently running in the GIS server.
 int getInstanceInUseCount()
          Number of running instances of server objects for a particular configuration that are in currently use by clients of the GIS server.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getStatus()
          Status of the server object configuration.
 int hashCode()
          the hashcode for this object
 void release()
          Release a ServerObjectConfigurationStatus.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerObjectConfigurationStatus

public ServerObjectConfigurationStatus(java.lang.Object obj)
                                throws java.io.IOException
Construct a ServerObjectConfigurationStatus using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ServerObjectConfigurationStatus.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ServerObjectConfigurationStatus o = (ServerObjectConfigurationStatus)obj; // will not work

ServerObjectConfigurationStatus o = new ServerObjectConfigurationStatus(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems ServerObjectConfigurationStatus theServerObjectConfigurationStatus = (ServerObjectConfigurationStatus) obj;
Method Detail

equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ServerObjectConfigurationStatus.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getInstanceCount

public int getInstanceCount()
                     throws java.io.IOException,
                            AutomationException
Number of instances of server objects for a particular configuration that are currently running in the GIS server.

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

getInstanceInUseCount

public int getInstanceInUseCount()
                          throws java.io.IOException,
                                 AutomationException
Number of running instances of server objects for a particular configuration that are in currently use by clients of the GIS server.

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

getStatus

public int getStatus()
              throws java.io.IOException,
                     AutomationException
Status of the server object configuration. This status indicates whether the server object configuration is started, stopped, paused, etc.

Specified by:
getStatus in interface IServerObjectConfigurationStatus
Returns:
A com.esri.arcgis.server.esriConfigurationStatus constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.