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, java.io.Serializable

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

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

Description 'Private Server' 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.IServer
IID, IID425b0a5b_bf1b_4f0e_9e75_37324a12e5f9, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServerInit2
IID, IID30d53022_c566_4854_87d8_2b9022829211, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServerInit
IIDa49dd957_aadb_4fe4_89c1_d80bb586970a
 
Constructor Summary
ServerP()
          Constructs a ServerP using ArcGIS Engine.
ServerP(java.lang.Object obj)
          Construct a ServerP 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.
 int hashCode()
          the hashcode for this object
 void initPrivateServer(java.lang.String dir)
          Initializes Private Server.
 void initPrivateServerEx(java.lang.String serverDir, java.lang.String logDir)
          Initializes Private Server.
 void release()
          Release a ServerP.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerP

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

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

ServerP

public ServerP(java.lang.Object obj)
        throws java.io.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:
java.io.IOException - if there are interop problems ServerP theServerP = (ServerP) 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 ServerP.

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.

initPrivateServer

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

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

initPrivateServerEx

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

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