com.esri.arcgis.server
Class IServerObjectAdmin6Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IServerObjectAdminProxy
          extended by com.esri.arcgis.server.IServerObjectAdmin2Proxy
              extended by com.esri.arcgis.server.IServerObjectAdmin3Proxy
                  extended by com.esri.arcgis.server.IServerObjectAdmin4Proxy
                      extended by com.esri.arcgis.server.IServerObjectAdmin5Proxy
                          extended by com.esri.arcgis.server.IServerObjectAdmin6Proxy
All Implemented Interfaces:
IServerObjectAdmin, IServerObjectAdmin2, IServerObjectAdmin3, IServerObjectAdmin4, IServerObjectAdmin5, IServerObjectAdmin6, Externalizable, Serializable

public class IServerObjectAdmin6Proxy
extends IServerObjectAdmin5Proxy
implements IServerObjectAdmin6, Serializable

Provides access to members that administer the ArcGIS server.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IServerObjectAdmin6Proxy()
           
  IServerObjectAdmin6Proxy(Object obj)
           
protected IServerObjectAdmin6Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 String getInputDir(String cfgName, String cfgType)
          Returns the input directory for the given Server Object Configuration.
 boolean isInputDirInUse()
          Checks if at least one service is currently using the input directory
 void removeListener(String iidStr, Object theListener)
           
 void uploadData(String cfgName, String cfgType, String fileName, byte[] data)
          Uploads data to server and saves it as a file in the input directory of the given configuration.
 
Methods inherited from class com.esri.arcgis.server.IServerObjectAdmin5Proxy
getConfigurationProperties, updateConfigurationProperties
 
Methods inherited from class com.esri.arcgis.server.IServerObjectAdmin4Proxy
isSecurityEnabled, setIsSecurityEnabled
 
Methods inherited from class com.esri.arcgis.server.IServerObjectAdmin3Proxy
getConfigurationsEx2
 
Methods inherited from class com.esri.arcgis.server.IServerObjectAdmin2Proxy
addExtensionType, createExtensionType, createFolder, deleteExtensionType, deleteFolder, disable, enable, getConfigurationsEx, getExtensionTypes, getFolderInfo, getFolders, getServerLog, renameFolder, setFolderInfo, validateConfiguration
 
Methods inherited from class com.esri.arcgis.server.IServerObjectAdminProxy
addConfiguration, addMachine, addServerDirectory, createConfiguration, createMachine, createServerDirectory, deleteConfiguration, deleteMachine, deleteServerDirectory, getConfiguration, getConfigurations, getConfigurationStatus, getMachine, getMachines, getProperties, getServerDirectories, getServerDirectory, getTypes, pauseConfiguration, setProperties, startConfiguration, stopConfiguration, updateConfiguration, updateMachine, updateServerDirectory
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin5
getConfigurationProperties, updateConfigurationProperties
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin4
isSecurityEnabled, setIsSecurityEnabled
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin3
getConfigurationsEx2
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin2
addExtensionType, createExtensionType, createFolder, deleteExtensionType, deleteFolder, disable, enable, getConfigurationsEx, getExtensionTypes, getFolderInfo, getFolders, getServerLog, renameFolder, setFolderInfo, validateConfiguration
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin
addConfiguration, addMachine, addServerDirectory, createConfiguration, createMachine, createServerDirectory, deleteConfiguration, deleteMachine, deleteServerDirectory, getConfiguration, getConfigurations, getConfigurationStatus, getMachine, getMachines, getProperties, getServerDirectories, getServerDirectory, getTypes, pauseConfiguration, setProperties, startConfiguration, stopConfiguration, updateConfiguration, updateMachine, updateServerDirectory
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IServerObjectAdmin6Proxy

public IServerObjectAdmin6Proxy()

IServerObjectAdmin6Proxy

public IServerObjectAdmin6Proxy(Object obj)
                         throws IOException
Throws:
IOException

IServerObjectAdmin6Proxy

protected IServerObjectAdmin6Proxy(Object obj,
                                   String iid)
                            throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IServerObjectAdmin5Proxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IServerObjectAdmin5Proxy
Throws:
IOException

getInputDir

public String getInputDir(String cfgName,
                          String cfgType)
                   throws IOException,
                          AutomationException
Returns the input directory for the given Server Object Configuration.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getInputDir in interface IServerObjectAdmin6
Parameters:
cfgName - The cfgName (in)
cfgType - The cfgType (in)
Returns:
The dir
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isInputDirInUse

public boolean isInputDirInUse()
                        throws IOException,
                               AutomationException
Checks if at least one service is currently using the input directory

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isInputDirInUse in interface IServerObjectAdmin6
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

uploadData

public void uploadData(String cfgName,
                       String cfgType,
                       String fileName,
                       byte[] data)
                throws IOException,
                       AutomationException
Uploads data to server and saves it as a file in the input directory of the given configuration.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
uploadData in interface IServerObjectAdmin6
Parameters:
cfgName - The cfgName (in)
cfgType - The cfgType (in)
fileName - The fileName (in)
data - An unsigned byte (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.