|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.gisclient.AGSServerConnectionFactory
public class AGSServerConnectionFactory
COM Class 'AGSServerConnectionFactory'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriGISClient.olb'
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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.gisclient.IAGSServerConnectionFactory3 |
---|
IID, IID02d56c6d_9134_42c7_b6b0_6804a125b7a9, xxDummy |
Fields inherited from interface com.esri.arcgis.gisclient.IAGSServerConnectionFactory2 |
---|
IID0264ca94_b0eb_435f_9d3a_5fcc5da0fbae |
Fields inherited from interface com.esri.arcgis.gisclient.IAGSServerConnectionFactory |
---|
IID6047c9fc_2d91_420a_a5a2_eb36b7e2fea2 |
Fields inherited from interface com.esri.arcgis.gisclient.ISetDefaultAgsConnectionInfo |
---|
IID, IIDdf667332_0e2b_49bf_9df9_ba8b15a37601, xxDummy |
Constructor Summary | |
---|---|
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; |
Method Summary | |
---|---|
void |
clearParameters(IPropertySet pConnectionProperties)
Clears an ArcGIS Server connection's user entered parameters. |
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()
Deprecated. Internal use only. |
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 a AGSServerConnectionFactory. |
void |
setDefaultHttpTimeout(int seconds)
The default timeout for http requests to the server (in seconds). |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AGSServerConnectionFactory() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.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 Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public 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 IAGSServerConnection open(IPropertySet pConnectionProperties, int hWnd) throws java.io.IOException, AutomationException
open
in interface IAGSServerConnectionFactory
pConnectionProperties
- 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 IAGSServerConnectionFactory2
fileName
- 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 IAGSServerConnectionFactory2
fileName
- 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 IAGSServerConnectionFactory2
seconds
- 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 IAGSServerConnectionFactory2
java.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 IAGSServerConnectionFactory3
hWnd
- 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 IAGSServerConnectionFactory3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearParameters(IPropertySet pConnectionProperties) throws java.io.IOException, AutomationException
clearParameters
in interface ISetDefaultAgsConnectionInfo
pConnectionProperties
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |