public class AGSServerConnection extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAGSServerConnection, IAGSServerConnection2, IAGSServerConnection3, IAGSServerConnectionAdmin, ISupportErrorInfo
Description 'The AGSServerConnection 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, IID20e6a647_de9e_4e4c_a301_640b9ab0d143, xxDummy
IID6921c52d_0d14_4d2c_8a80_a7873c1306ea
IID657f65fd_9795_40b4_b1ce_e235ef08614c
IID, IID2609d396_4c06_4c35_9ae3_df690ed88506, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
Constructor and Description |
---|
AGSServerConnection()
Constructs a AGSServerConnection using ArcGIS Engine.
|
AGSServerConnection(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
AGSServerConnection theAGSServerConnection = (AGSServerConnection) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
IStream |
getFile(java.lang.String uRL)
Retrieves a file from the specified url.
|
java.lang.Object |
getFileAsVariant(java.lang.String uRL)
Retrieves the stream as variant from the specified url.
|
IEnumBSTR |
getFolders(java.lang.String reserved)
Returns an enumeration of folder names beneath the specified folder.
|
IName |
getFullName()
The AGSServerConnectionName object assiated with the GIS server connection.
|
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.
|
java.lang.String |
getName()
The name of the connection.
|
IServerObjectAdmin |
getServerObjectAdmin()
The server object admin for the connected GIS server.
|
IServerObjectConfiguration |
getServerObjectConfiguration(java.lang.String name,
java.lang.String type)
The server object configuration with the specified Name and TypeName.
|
IServerObjectManager |
getServerObjectManager()
The server object manager for the connected GIS server.
|
IAGSEnumServerObjectName |
getServerObjectNames()
The ServerObjectNames in the GIS server.
|
IAGSEnumServerObjectName |
getServerObjectNamesEx(java.lang.String folderName)
The ServerObjectNames in the GIS server folder.
|
int |
hashCode()
the hashcode for this object
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
void |
release()
Release this COM object reference
|
void |
setFullNameByRef(IName ppNameObject)
The AGSServerConnectionName object assiated with the GIS server connection.
|
void |
setName(java.lang.String name)
The name of the connection.
|
public AGSServerConnection() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic AGSServerConnection(java.lang.Object obj) throws java.io.IOException
AGSServerConnection theAGSServerConnection = (AGSServerConnection) obj;
obj
to AGSServerConnection
.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 setName(java.lang.String name) throws java.io.IOException, AutomationException
setName
in interface IAGSServerConnection
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IAGSServerConnection
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IAGSEnumServerObjectName getServerObjectNames() throws java.io.IOException, AutomationException
getServerObjectNames
in interface IAGSServerConnection
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IName getFullName() throws java.io.IOException, AutomationException
getFullName
in interface IAGSServerConnection
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFullNameByRef(IName ppNameObject) throws java.io.IOException, AutomationException
setFullNameByRef
in interface IAGSServerConnection
ppNameObject
- A reference to a com.esri.arcgis.system.IName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IAGSEnumServerObjectName getServerObjectNamesEx(java.lang.String folderName) throws java.io.IOException, AutomationException
getServerObjectNamesEx
in interface IAGSServerConnection2
folderName
- The folderName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumBSTR getFolders(java.lang.String reserved) throws java.io.IOException, AutomationException
getFolders
in interface IAGSServerConnection2
reserved
- The reserved (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IStream getFile(java.lang.String uRL) throws java.io.IOException, AutomationException
getFile
in interface IAGSServerConnection3
uRL
- The uRL (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getFileAsVariant(java.lang.String uRL) throws java.io.IOException, AutomationException
getFileAsVariant
in interface IAGSServerConnection3
uRL
- The uRL (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 IAGSServerConnectionAdmin
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 IAGSServerConnectionAdmin
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IServerObjectConfiguration getServerObjectConfiguration(java.lang.String name, java.lang.String type) throws java.io.IOException, AutomationException
getServerObjectConfiguration
in interface IAGSServerConnectionAdmin
name
- The name (in)type
- The type (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.