com.esri.arcgis.server
Class Server

java.lang.Object
  extended by com.esri.arcgis.server.Server
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IServer, IServer2, java.io.Serializable

public class Server
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IServer, IServer2

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

Description 'The Server object for connecting to the GIS server and getting the ServerObjectManager and ServerObjectAdmin.' 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.IServer2
IID, IID0741d66c_c157_4b4d_af5e_c74c68ba8386, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServer
IID425b0a5b_bf1b_4f0e_9e75_37324a12e5f9
 
Constructor Summary
Server()
          Constructs a Server using ArcGIS Engine.
Server(java.lang.Object obj)
          Construct a Server 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
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IServerObjectAdmin getServerObjectAdmin()
          Gets the server object admin for the connected GIS server.
 IServerObjectManager getServerObjectManager()
          Gets the server object manager for the connected GIS server.
 IServerObjectManager getServerObjectManager2(java.lang.String userInfo)
          Gets the server objcet manager of the connected ArcGIS server for the user specified by userInfo.
 int hashCode()
          the hashcode for this object
 void release()
          Release a Server.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Server

public Server()
       throws java.io.IOException,
              java.net.UnknownHostException
Constructs a Server using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

Server

public Server(java.lang.Object obj)
       throws java.io.IOException
Construct a Server using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to Server.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems Server theServer = (Server) obj;
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


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 Server.

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

getServerObjectManager

public IServerObjectManager getServerObjectManager()
                                            throws java.io.IOException,
                                                   AutomationException
Gets the server object manager for the connected GIS server.

Specified by:
getServerObjectManager in interface IServer
Returns:
A reference to a com.esri.arcgis.server.IServerObjectManager
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServerObjectAdmin

public IServerObjectAdmin getServerObjectAdmin()
                                        throws java.io.IOException,
                                               AutomationException
Gets the server object admin for the connected GIS server.

Specified by:
getServerObjectAdmin in interface IServer
Returns:
A reference to a com.esri.arcgis.server.IServerObjectAdmin
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServerObjectManager2

public IServerObjectManager getServerObjectManager2(java.lang.String userInfo)
                                             throws java.io.IOException,
                                                    AutomationException
Gets the server objcet manager of the connected ArcGIS server for the user specified by userInfo.

Specified by:
getServerObjectManager2 in interface IServer2
Parameters:
userInfo - The userInfo (in)
Returns:
A reference to a com.esri.arcgis.server.IServerObjectManager
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.