|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.system.IServerEnvironmentProxy
public class IServerEnvironmentProxy
Provides access to Server configuration information.
The methods of IServerEnvironment allow access to the ILog interface and the PropertySet of server configuration properties.
This interface is primarily used when developing server object extensions. It permits access to an ILog interface which provides a conduit to log messages. It also retrieves the server properties as an IPropertySet interface. This PropertySet can be used to determine various properties, for example, output and input operating system paths, that might be useful to a server object extension programmer.
Use this interface to retrieve the server properties and write access to the server logs.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IServerEnvironmentProxy()
|
|
IServerEnvironmentProxy(Object obj)
|
protected |
IServerEnvironmentProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
String |
getCurrentJobID()
Retrieves current job ID. |
String |
getJobDirectory(String jobID)
Retrieves job directory for given job. |
IJobTracker |
getJobTracker()
Retrieves IJobTracker interface that provides access to members that track and control execution of jobs. |
ILog |
getLog()
Retrieves an ILog interface that can be used to add logging messages. |
IPropertySet |
getProperties()
Retrieves an IProperySet interface that provides access to the server configuration information. |
void |
removeListener(String iidStr,
Object theListener)
|
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 |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IServerEnvironmentProxy()
public IServerEnvironmentProxy(Object obj) throws IOException
IOException
protected IServerEnvironmentProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public ILog getLog() throws IOException, AutomationException
getLog
in interface IServerEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getProperties() throws IOException, AutomationException
getProperties
in interface IServerEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IJobTracker getJobTracker() throws IOException, AutomationException
getJobTracker
in interface IServerEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getJobDirectory(String jobID) throws IOException, AutomationException
getJobDirectory
in interface IServerEnvironment
jobID
- The jobID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCurrentJobID() throws IOException, AutomationException
getCurrentJobID
in interface IServerEnvironment
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 |