|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.ServerEnvironmentXHelper
public class ServerEnvironmentXHelper
Constructor Summary | |
---|---|
ServerEnvironmentXHelper()
Constructs a ServerEnvironmentXHelper using ArcGIS Engine. |
|
ServerEnvironmentXHelper(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ServerEnvironmentXHelper theServerEnvironmentXHelper = (ServerEnvironmentXHelper) obj; |
Method Summary | |
---|---|
void |
addEnvProperty(String name,
String value)
Adds or updates a property into the server environment. |
void |
addServerDirectory(String dirPath,
String uRL,
String description,
int cleaningMode,
int maxFileAge,
int type)
Adds a new server directory into the server environment. |
void |
changeLogDirectory(String newLogDirectory)
Changes the log directory for the logger configured in the server environment. |
void |
changeLogLevel(String newLogLevel)
Changes the log level for the logger configured in the server environment. |
void |
changeLogMachineName(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(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
removeEnvProperty(String name)
Removes a property from the server environment. |
void |
removeServerDirectory(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(String jobID)
Sets the job ID in the server environment. |
void |
setUserInfo(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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public ServerEnvironmentXHelper() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ServerEnvironmentXHelper(Object obj) throws IOException
ServerEnvironmentXHelper theServerEnvironmentXHelper = (ServerEnvironmentXHelper) obj;
obj
to ServerEnvironmentXHelper
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void changeLogLevel(String newLogLevel) throws IOException, AutomationException
changeLogLevel
in interface IServerEnvironmentXHelper
newLogLevel
- The newLogLevel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resetJobID() throws IOException, AutomationException
resetJobID
in interface IServerEnvironmentXHelper
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setJobID(String jobID) throws IOException, AutomationException
setJobID
in interface IServerEnvironmentXHelper
jobID
- The jobID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addServerDirectory(String dirPath, String uRL, String description, int cleaningMode, int maxFileAge, int type) throws IOException, AutomationException
addServerDirectory
in interface IServerEnvironmentXHelper
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeServerDirectory(String dirPath) throws IOException, AutomationException
removeServerDirectory
in interface IServerEnvironmentXHelper
dirPath
- The dirPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUserInfo(String userInfo) throws IOException, AutomationException
setUserInfo
in interface IServerEnvironmentXHelper
userInfo
- The userInfo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnvProperties(IPropertySet ipProps) throws IOException, AutomationException
setEnvProperties
in interface IServerEnvironmentXHelper
ipProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addEnvProperty(String name, String value) throws IOException, AutomationException
addEnvProperty
in interface IServerEnvironmentXHelper
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeEnvProperty(String name) throws IOException, AutomationException
removeEnvProperty
in interface IServerEnvironmentXHelper
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void changeLogMachineName(String newMachineName) throws IOException, AutomationException
changeLogMachineName
in interface IServerEnvironmentXHelper
newMachineName
- The newMachineName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void changeLogDirectory(String newLogDirectory) throws IOException, AutomationException
changeLogDirectory
in interface IServerEnvironmentXHelper
newLogDirectory
- The newLogDirectory (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void changeMaxLogFileSize(int maxLogFileSize) throws IOException, AutomationException
changeMaxLogFileSize
in interface IServerEnvironmentXHelper
maxLogFileSize
- The maxLogFileSize (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enableCrashDumpGeneration(boolean bEnable) throws IOException, AutomationException
enableCrashDumpGeneration
in interface IServerEnvironmentXHelper
bEnable
- The bEnable (in)
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 |