com.esri.arcgis.server
Class ServerP

java.lang.Object
  extended by com.esri.arcgis.server.ServerP
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IServer, IServerInit, IServerInit2, Serializable

public class ServerP
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IServer, IServerInit, IServerInit2

Private Server

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ServerP()
          Constructs a ServerP using ArcGIS Engine.
ServerP(Object obj)
          Construct a ServerP using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IServerObjectAdmin getServerObjectAdmin()
          Gets the server object admin for the connected GIS server.
 IServerObjectManager getServerObjectManager()
          Gets the server object manager for the connected GIS server.
 int hashCode()
          the hashcode for this object
 void initPrivateServer(String dir)
          Initializes Private Server.
 void initPrivateServerEx(String serverDir, String logDir)
          Initializes Private Server.
 
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

ServerP

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

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

ServerP

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems ServerP theServerP = (ServerP) obj;
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

getServerObjectManager

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

Product Availability

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

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

getServerObjectAdmin

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

Product Availability

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

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

initPrivateServer

public void initPrivateServer(String dir)
                       throws IOException,
                              AutomationException
Initializes Private Server.

Product Availability

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

Specified by:
initPrivateServer in interface IServerInit
Parameters:
dir - The dir (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initPrivateServerEx

public void initPrivateServerEx(String serverDir,
                                String logDir)
                         throws IOException,
                                AutomationException
Initializes Private Server.

Product Availability

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

Specified by:
initPrivateServerEx in interface IServerInit2
Parameters:
serverDir - The serverDir (in)
logDir - The logDir (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.