public class AISImageServerManager extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAISImageServerManager
Description 'Image Server Manager CoClass' 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, IID386959af_5544_4846_ba4b_934e1408008b, xxDummy
Constructor and Description |
---|
AISImageServerManager()
Constructs a AISImageServerManager using ArcGIS Engine.
|
AISImageServerManager(java.lang.Object obj)
Construct a AISImageServerManager using a reference to such an object returned from ArcGIS Engine or Server.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addService(java.lang.String servicePath,
java.lang.String serviceName,
java.lang.String serviceProperties,
java.lang.String[] ispNames)
Adds an image service to the specified image service providers.
|
boolean |
addServiceProvider(java.lang.String ispName,
java.lang.String ispHostMachine,
java.lang.String ispHostPort)
Add a new image service provider using the specified friendly name on the specified host machine and port.
|
boolean |
connect(java.lang.String serverHost,
java.lang.String serverPort)
Connects to an image server given host name and port.
|
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.
|
java.lang.String |
getServerConfiguration()
Obtains the current configuration of the image server service as an XML string.
|
java.lang.String |
getServerInfo()
Obtains server information containing the list of all image service providers and image services as an XML string.
|
java.lang.String |
getServiceConfiguration()
Obtains current configuration of all image services hosted by the image server as an XML string.
|
java.lang.String |
getServiceDefinitionName(java.lang.String servicePath)
Gets the service name of the image service, given the path to compiled service.
|
java.lang.String |
getServiceProviderConfiguration(java.lang.String ispName)
Obtains the current configuration of the specified image service provider as an XML string defined by ISPConfig.xsd
|
boolean |
getSOMRegisteredServer(java.lang.String sOMHost,
java.lang.String[] serverHost,
java.lang.String[] serverPort)
Gets the server registered to a given host.
|
java.lang.String |
getStatus()
Gets the status XML details for any failure.
|
int |
hashCode()
the hashcode for this object
|
void |
refreshAllServices(boolean[] retStatus)
Reloads all the services.
|
boolean |
refreshService(java.lang.String serviceName)
Reloads the given service.
|
boolean |
registerToSOM(java.lang.String sOMHost,
java.lang.String serverHost,
java.lang.String serverPort)
Registers the server to a given ArcGIS Server Object Manager SOM.
|
void |
release()
Release this COM object reference
|
boolean |
removeService(java.lang.String serviceName,
java.lang.String[] ispNames)
Removes an image service from specified image service providers.
|
boolean |
removeServiceProvider(java.lang.String ispName)
Removes the specified image service provider.
|
boolean |
startServer(java.lang.String serverHost)
Starts the image server service on the specified host machine using the default port or the last saved configuration on the host machine.
|
boolean |
startService(java.lang.String serviceName)
Publishes the specified compiled service definition file as an image service on the image service providers specified when the service was added.
|
boolean |
startServiceProvider(java.lang.String ispName)
Starts the specified image service provider using either the default or the last saved configuration.
|
boolean |
stopServer()
Stops the image server service.
|
boolean |
stopService(java.lang.String serviceName)
Stops an image service on the image service providers specified when the service was added.
|
boolean |
stopServiceProvider(java.lang.String ispName)
Stops the specified image service provider.
|
boolean |
updateServerConfiguration(java.lang.String serverConfigXml)
Updates configuration of the image server using the specified XML.
|
boolean |
updateServiceConfiguration(java.lang.String serviceConfigXml)
Updates configuration of the image server pertaining all image services using the specified XML string.
|
boolean |
updateServiceProviderConfiguration(java.lang.String ispName,
java.lang.String ispConfigXml)
Updates configuration of an image service provider using the specifed XML.
|
public AISImageServerManager() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic AISImageServerManager(java.lang.Object obj) throws java.io.IOException
obj
to AISImageServerManager
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problems
AISImageServerManager theAISImageServerManager = (AISImageServerManager) obj;
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 boolean connect(java.lang.String serverHost, java.lang.String serverPort) throws java.io.IOException, AutomationException
connect
in interface IAISImageServerManager
serverHost
- The serverHost (in)serverPort
- The serverPort (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean startServer(java.lang.String serverHost) throws java.io.IOException, AutomationException
startServer
in interface IAISImageServerManager
serverHost
- The serverHost (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean stopServer() throws java.io.IOException, AutomationException
stopServer
in interface IAISImageServerManager
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getServerInfo() throws java.io.IOException, AutomationException
getServerInfo
in interface IAISImageServerManager
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getServerConfiguration() throws java.io.IOException, AutomationException
getServerConfiguration
in interface IAISImageServerManager
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean updateServerConfiguration(java.lang.String serverConfigXml) throws java.io.IOException, AutomationException
updateServerConfiguration
in interface IAISImageServerManager
serverConfigXml
- The serverConfigXml (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getServiceProviderConfiguration(java.lang.String ispName) throws java.io.IOException, AutomationException
getServiceProviderConfiguration
in interface IAISImageServerManager
ispName
- The ispName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean updateServiceProviderConfiguration(java.lang.String ispName, java.lang.String ispConfigXml) throws java.io.IOException, AutomationException
updateServiceProviderConfiguration
in interface IAISImageServerManager
ispName
- The ispName (in)ispConfigXml
- The ispConfigXml (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean startServiceProvider(java.lang.String ispName) throws java.io.IOException, AutomationException
startServiceProvider
in interface IAISImageServerManager
ispName
- The ispName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean stopServiceProvider(java.lang.String ispName) throws java.io.IOException, AutomationException
stopServiceProvider
in interface IAISImageServerManager
ispName
- The ispName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean addServiceProvider(java.lang.String ispName, java.lang.String ispHostMachine, java.lang.String ispHostPort) throws java.io.IOException, AutomationException
addServiceProvider
in interface IAISImageServerManager
ispName
- The ispName (in)ispHostMachine
- The ispHostMachine (in)ispHostPort
- The ispHostPort (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean removeServiceProvider(java.lang.String ispName) throws java.io.IOException, AutomationException
removeServiceProvider
in interface IAISImageServerManager
ispName
- The ispName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getServiceConfiguration() throws java.io.IOException, AutomationException
getServiceConfiguration
in interface IAISImageServerManager
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean updateServiceConfiguration(java.lang.String serviceConfigXml) throws java.io.IOException, AutomationException
updateServiceConfiguration
in interface IAISImageServerManager
serviceConfigXml
- The serviceConfigXml (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean startService(java.lang.String serviceName) throws java.io.IOException, AutomationException
startService
in interface IAISImageServerManager
serviceName
- The serviceName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean stopService(java.lang.String serviceName) throws java.io.IOException, AutomationException
stopService
in interface IAISImageServerManager
serviceName
- The serviceName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean removeService(java.lang.String serviceName, java.lang.String[] ispNames) throws java.io.IOException, AutomationException
removeService
in interface IAISImageServerManager
serviceName
- The serviceName (in)ispNames
- The ispNames (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean addService(java.lang.String servicePath, java.lang.String serviceName, java.lang.String serviceProperties, java.lang.String[] ispNames) throws java.io.IOException, AutomationException
addService
in interface IAISImageServerManager
servicePath
- The servicePath (in)serviceName
- The serviceName (in)serviceProperties
- The serviceProperties (in)ispNames
- The ispNames (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getServiceDefinitionName(java.lang.String servicePath) throws java.io.IOException, AutomationException
getServiceDefinitionName
in interface IAISImageServerManager
servicePath
- The servicePath (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean refreshService(java.lang.String serviceName) throws java.io.IOException, AutomationException
refreshService
in interface IAISImageServerManager
serviceName
- The serviceName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void refreshAllServices(boolean[] retStatus) throws java.io.IOException, AutomationException
refreshAllServices
in interface IAISImageServerManager
retStatus
- The retStatus (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean registerToSOM(java.lang.String sOMHost, java.lang.String serverHost, java.lang.String serverPort) throws java.io.IOException, AutomationException
registerToSOM
in interface IAISImageServerManager
sOMHost
- The sOMHost (in)serverHost
- The serverHost (in)serverPort
- The serverPort (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean getSOMRegisteredServer(java.lang.String sOMHost, java.lang.String[] serverHost, java.lang.String[] serverPort) throws java.io.IOException, AutomationException
getSOMRegisteredServer
in interface IAISImageServerManager
sOMHost
- The sOMHost (in)serverHost
- The serverHost (out: use single element array)serverPort
- The serverPort (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getStatus() throws java.io.IOException, AutomationException
getStatus
in interface IAISImageServerManager
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.