public interface IAISImageServerManager
extends java.io.Serializable
Description: 'Server Manager Interface' 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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID386959af_5544_4846_ba4b_934e1408008b |
static int |
xxDummy
Deprecated.
Internal use only
|
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.
|
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.
|
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.
|
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.
|
static final int IID386959af_5544_4846_ba4b_934e1408008b
static final int xxDummy
static final java.lang.String IID
boolean connect(java.lang.String serverHost, java.lang.String serverPort) throws java.io.IOException, AutomationException
serverHost
- The serverHost (in)serverPort
- The serverPort (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean startServer(java.lang.String serverHost) throws java.io.IOException, AutomationException
serverHost
- The serverHost (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean stopServer() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getServerInfo() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getServerConfiguration() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean updateServerConfiguration(java.lang.String serverConfigXml) throws java.io.IOException, AutomationException
serverConfigXml
- The serverConfigXml (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getServiceProviderConfiguration(java.lang.String ispName) throws java.io.IOException, AutomationException
ispName
- The ispName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean updateServiceProviderConfiguration(java.lang.String ispName, java.lang.String ispConfigXml) throws java.io.IOException, AutomationException
ispName
- The ispName (in)ispConfigXml
- The ispConfigXml (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean startServiceProvider(java.lang.String ispName) throws java.io.IOException, AutomationException
ispName
- The ispName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean stopServiceProvider(java.lang.String ispName) throws java.io.IOException, AutomationException
ispName
- The ispName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean addServiceProvider(java.lang.String ispName, java.lang.String ispHostMachine, java.lang.String ispHostPort) throws java.io.IOException, AutomationException
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.boolean removeServiceProvider(java.lang.String ispName) throws java.io.IOException, AutomationException
ispName
- The ispName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getServiceConfiguration() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean updateServiceConfiguration(java.lang.String serviceConfigXml) throws java.io.IOException, AutomationException
serviceConfigXml
- The serviceConfigXml (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean startService(java.lang.String serviceName) throws java.io.IOException, AutomationException
serviceName
- The serviceName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean stopService(java.lang.String serviceName) throws java.io.IOException, AutomationException
serviceName
- The serviceName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean removeService(java.lang.String serviceName, java.lang.String[] ispNames) throws java.io.IOException, AutomationException
serviceName
- The serviceName (in)ispNames
- The ispNames (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean addService(java.lang.String servicePath, java.lang.String serviceName, java.lang.String serviceProperties, java.lang.String[] ispNames) throws java.io.IOException, AutomationException
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.java.lang.String getServiceDefinitionName(java.lang.String servicePath) throws java.io.IOException, AutomationException
servicePath
- The servicePath (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean refreshService(java.lang.String serviceName) throws java.io.IOException, AutomationException
serviceName
- The serviceName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void refreshAllServices(boolean[] retStatus) throws java.io.IOException, AutomationException
retStatus
- The retStatus (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean registerToSOM(java.lang.String sOMHost, java.lang.String serverHost, java.lang.String serverPort) throws java.io.IOException, AutomationException
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.boolean getSOMRegisteredServer(java.lang.String sOMHost, java.lang.String[] serverHost, java.lang.String[] serverPort) throws java.io.IOException, AutomationException
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.java.lang.String getStatus() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.