public class AGSServerConnectionFactory extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAGSServerConnectionFactory, IAGSServerConnectionFactory2, IAGSServerConnectionFactory3
Description 'A factory object for ArcGIS Server Connections.' 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, IID02d56c6d_9134_42c7_b6b0_6804a125b7a9, xxDummyIID0264ca94_b0eb_435f_9d3a_5fcc5da0fbaeIID6047c9fc_2d91_420a_a5a2_eb36b7e2fea2| Constructor and Description |
|---|
AGSServerConnectionFactory()
Constructs a AGSServerConnectionFactory using ArcGIS Engine.
|
AGSServerConnectionFactory(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
AGSServerConnectionFactory theAGSServerConnectionFactory = (AGSServerConnectionFactory) obj; |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getDefaultHttpTimeout()
The default timeout for http requests to the server (in seconds).
|
IEnumAGSServerConnectionName |
getHostedServers(int hWnd)
Returns server object names for the hosted servers accessible to the user.
|
IAGSServerConnectionName |
getInServerConnectionName()
Returns a server connection name that can be used to connect to the server from within a server process.
|
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.
|
int |
hashCode()
the hashcode for this object
|
IAGSServerConnection |
open(IPropertySet pConnectionProperties,
int hWnd)
Opens the GIS server connection specified by the connection properties.
|
IAGSServerConnection |
openFromFile(java.lang.String fileName,
int hWnd)
Opens the server connection specified by the given file name.
|
IPropertySet |
readConnectionPropertiesFromFile(java.lang.String fileName)
The connection properties from the specified file.
|
void |
release()
Release this COM object reference
|
void |
setDefaultHttpTimeout(int seconds)
The default timeout for http requests to the server (in seconds).
|
public AGSServerConnectionFactory()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic AGSServerConnectionFactory(java.lang.Object obj)
throws java.io.IOException
AGSServerConnectionFactory theAGSServerConnectionFactory = (AGSServerConnectionFactory) obj;obj to AGSServerConnectionFactory.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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic IAGSServerConnection open(IPropertySet pConnectionProperties, int hWnd) throws java.io.IOException, AutomationException
open in interface IAGSServerConnectionFactorypConnectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)hWnd - The hWnd (A COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IAGSServerConnection openFromFile(java.lang.String fileName, int hWnd) throws java.io.IOException, AutomationException
openFromFile in interface IAGSServerConnectionFactory2fileName - The fileName (in)hWnd - The hWnd (A COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet readConnectionPropertiesFromFile(java.lang.String fileName) throws java.io.IOException, AutomationException
readConnectionPropertiesFromFile in interface IAGSServerConnectionFactory2fileName - The fileName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDefaultHttpTimeout(int seconds)
throws java.io.IOException,
AutomationException
setDefaultHttpTimeout in interface IAGSServerConnectionFactory2seconds - The seconds (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getDefaultHttpTimeout()
throws java.io.IOException,
AutomationException
getDefaultHttpTimeout in interface IAGSServerConnectionFactory2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumAGSServerConnectionName getHostedServers(int hWnd) throws java.io.IOException, AutomationException
getHostedServers in interface IAGSServerConnectionFactory3hWnd - The hWnd (A COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IAGSServerConnectionName getInServerConnectionName() throws java.io.IOException, AutomationException
getInServerConnectionName in interface IAGSServerConnectionFactory3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.