com.esri.arcgis.system
Class ServerUtilities

java.lang.Object
  extended by com.esri.arcgis.system.ServerUtilities

public class ServerUtilities
extends Object


Constructor Summary
ServerUtilities()
           
 
Method Summary
static ILog2 getServerLogger()
          Returns a handle to ArcGIS Server's log file via the ILog2 interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerUtilities

public ServerUtilities()
Method Detail

getServerLogger

public static ILog2 getServerLogger()
Returns a handle to ArcGIS Server's log file via the ILog2 interface. ArcGIS Java extensions running in ArcGIS Server should write to the Server's log file through the ILog2 interface obtained from this method.

Returns:
ILog2 or null if this method is not called from within ArcGIS Server.