public class GISServerConnection extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IGISServerConnection, IGISServerConnection2
Description 'The ServerConnection 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 =
IID, IIDf6616298_396a_41f2_9a5b_0eed59af2e40, xxDummy
IIDe3105184_0aad_4706_9269_dcb5ff52036d
Constructor and Description |
---|
GISServerConnection()
Constructs a GISServerConnection using ArcGIS Engine.
|
GISServerConnection(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
GISServerConnection theGISServerConnection = (GISServerConnection) obj; |
Modifier and Type | Method and Description |
---|---|
void |
connect(java.lang.String machineName)
Connects to the GIS server specified by the machineName.
|
void |
connect2(java.lang.String userInfo,
java.lang.String machineName)
Connects the user specified by userInfo to the GIS server given by machineName.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
IServerObjectAdmin |
getServerObjectAdmin()
The server object admin for the connected GIS server.
|
IServerObjectManager |
getServerObjectManager()
The server object manager for the connected GIS server.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
public GISServerConnection() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic GISServerConnection(java.lang.Object obj) throws java.io.IOException
GISServerConnection theGISServerConnection = (GISServerConnection) obj;
obj
to GISServerConnection
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void connect(java.lang.String machineName) throws java.io.IOException, AutomationException
connect
in interface IGISServerConnection
machineName
- The machineName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IServerObjectManager getServerObjectManager() throws java.io.IOException, AutomationException
getServerObjectManager
in interface IGISServerConnection
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IServerObjectAdmin getServerObjectAdmin() throws java.io.IOException, AutomationException
getServerObjectAdmin
in interface IGISServerConnection
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void connect2(java.lang.String userInfo, java.lang.String machineName) throws java.io.IOException, AutomationException
connect2
in interface IGISServerConnection2
userInfo
- The userInfo (in)machineName
- The machineName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.