|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 problems
public 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 problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - 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 IServerEnvironmentXHelpernewLogLevel - 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 IServerEnvironmentXHelperIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setJobID(String jobID)
throws IOException,
AutomationException
setJobID in interface IServerEnvironmentXHelperjobID - 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 IServerEnvironmentXHelperdirPath - 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 IServerEnvironmentXHelperdirPath - 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 IServerEnvironmentXHelperuserInfo - 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 IServerEnvironmentXHelperipProps - 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 IServerEnvironmentXHelpername - 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 IServerEnvironmentXHelpername - 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 IServerEnvironmentXHelpernewMachineName - 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 IServerEnvironmentXHelpernewLogDirectory - 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 IServerEnvironmentXHelpermaxLogFileSize - 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 IServerEnvironmentXHelperbEnable - 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 | ||||||||