com.esri.arcgis.server
Class ServerEnvironmentXHelper

java.lang.Object
  extended by com.esri.arcgis.server.ServerEnvironmentXHelper
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IServerEnvironmentXHelper, ISupportErrorInfo, java.io.Serializable

public class ServerEnvironmentXHelper
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, IServerEnvironmentXHelper

COM Class 'ServerEnvironmentXHelper'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriServer.olb'

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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServerEnvironmentXHelper
IID, IID9fc0c623_186b_4a67_a4c9_5dec2fb8377d, xxDummy
 
Constructor Summary
ServerEnvironmentXHelper()
          Constructs a ServerEnvironmentXHelper using ArcGIS Engine.
ServerEnvironmentXHelper(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ServerEnvironmentXHelper theServerEnvironmentXHelper = (ServerEnvironmentXHelper) obj;
 
Method Summary
 void addEnvProperty(java.lang.String name, java.lang.String value)
          Adds or updates a property into the server environment.
 void addServerDirectory(java.lang.String dirPath, java.lang.String uRL, java.lang.String description, int cleaningMode, int maxFileAge, int type)
          Adds a new server directory into the server environment.
 void changeLogDirectory(java.lang.String newLogDirectory)
          Changes the log directory for the logger configured in the server environment.
 void changeLogLevel(java.lang.String newLogLevel)
          Changes the log level for the logger configured in the server environment.
 void changeLogMachineName(java.lang.String newMachineName)
          Changes the machine name for the logger configured in the server environment.
 void changeMaxLogFileSize(int maxLogFileSize)
          Change the max log file size
 void enableCrashDumpGeneration(boolean bEnable)
          Enable crash dump files generation
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void release()
          Release a ServerEnvironmentXHelper.
 void removeEnvProperty(java.lang.String name)
          Removes a property from the server environment.
 void removeServerDirectory(java.lang.String dirPath)
          Removes a server directory from the server environment.
 void resetJobID()
          Resets the job ID.
 void setEnvProperties(IPropertySet ipProps)
          Sets the environment properties.
 void setJobID(java.lang.String jobID)
          Sets the job ID in the server environment.
 void setUserInfo(java.lang.String userInfo)
          Sets the user information into the server environment.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerEnvironmentXHelper

public ServerEnvironmentXHelper()
                         throws java.io.IOException,
                                java.net.UnknownHostException
Constructs a ServerEnvironmentXHelper using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ServerEnvironmentXHelper

public ServerEnvironmentXHelper(java.lang.Object obj)
                         throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ServerEnvironmentXHelper theServerEnvironmentXHelper = (ServerEnvironmentXHelper) obj;

Construct a ServerEnvironmentXHelper using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ServerEnvironmentXHelper.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ServerEnvironmentXHelper.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

changeLogLevel

public void changeLogLevel(java.lang.String newLogLevel)
                    throws java.io.IOException,
                           AutomationException
Changes the log level for the logger configured in the server environment.

Specified by:
changeLogLevel in interface IServerEnvironmentXHelper
Parameters:
newLogLevel - The newLogLevel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

resetJobID

public void resetJobID()
                throws java.io.IOException,
                       AutomationException
Resets the job ID.

Specified by:
resetJobID in interface IServerEnvironmentXHelper
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setJobID

public void setJobID(java.lang.String jobID)
              throws java.io.IOException,
                     AutomationException
Sets the job ID in the server environment.

Specified by:
setJobID in interface IServerEnvironmentXHelper
Parameters:
jobID - The jobID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addServerDirectory

public void addServerDirectory(java.lang.String dirPath,
                               java.lang.String uRL,
                               java.lang.String description,
                               int cleaningMode,
                               int maxFileAge,
                               int type)
                        throws java.io.IOException,
                               AutomationException
Adds a new server directory into the server environment.

Specified by:
addServerDirectory in interface IServerEnvironmentXHelper
Parameters:
dirPath - The dirPath (in)
uRL - The uRL (in)
description - The description (in)
cleaningMode - A com.esri.arcgis.server.esriServerDirectoryCleaningMode constant (in)
maxFileAge - The maxFileAge (in)
type - A com.esri.arcgis.server.esriServerDirectoryType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeServerDirectory

public void removeServerDirectory(java.lang.String dirPath)
                           throws java.io.IOException,
                                  AutomationException
Removes a server directory from the server environment.

Specified by:
removeServerDirectory in interface IServerEnvironmentXHelper
Parameters:
dirPath - The dirPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUserInfo

public void setUserInfo(java.lang.String userInfo)
                 throws java.io.IOException,
                        AutomationException
Sets the user information into the server environment.

Specified by:
setUserInfo in interface IServerEnvironmentXHelper
Parameters:
userInfo - The userInfo (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnvProperties

public void setEnvProperties(IPropertySet ipProps)
                      throws java.io.IOException,
                             AutomationException
Sets the environment properties.

Specified by:
setEnvProperties in interface IServerEnvironmentXHelper
Parameters:
ipProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addEnvProperty

public void addEnvProperty(java.lang.String name,
                           java.lang.String value)
                    throws java.io.IOException,
                           AutomationException
Adds or updates a property into the server environment.

Specified by:
addEnvProperty in interface IServerEnvironmentXHelper
Parameters:
name - The name (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeEnvProperty

public void removeEnvProperty(java.lang.String name)
                       throws java.io.IOException,
                              AutomationException
Removes a property from the server environment.

Specified by:
removeEnvProperty in interface IServerEnvironmentXHelper
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

changeLogMachineName

public void changeLogMachineName(java.lang.String newMachineName)
                          throws java.io.IOException,
                                 AutomationException
Changes the machine name for the logger configured in the server environment.

Specified by:
changeLogMachineName in interface IServerEnvironmentXHelper
Parameters:
newMachineName - The newMachineName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

changeLogDirectory

public void changeLogDirectory(java.lang.String newLogDirectory)
                        throws java.io.IOException,
                               AutomationException
Changes the log directory for the logger configured in the server environment.

Specified by:
changeLogDirectory in interface IServerEnvironmentXHelper
Parameters:
newLogDirectory - The newLogDirectory (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

changeMaxLogFileSize

public void changeMaxLogFileSize(int maxLogFileSize)
                          throws java.io.IOException,
                                 AutomationException
Change the max log file size

Specified by:
changeMaxLogFileSize in interface IServerEnvironmentXHelper
Parameters:
maxLogFileSize - The maxLogFileSize (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enableCrashDumpGeneration

public void enableCrashDumpGeneration(boolean bEnable)
                               throws java.io.IOException,
                                      AutomationException
Enable crash dump files generation

Specified by:
enableCrashDumpGeneration in interface IServerEnvironmentXHelper
Parameters:
bEnable - The bEnable (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.