com.esri.arcgis.server
Class ServerLogImpl

java.lang.Object
  extended by com.esri.arcgis.server.ServerLogImpl
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IServerLog, IServerLog2, java.io.Serializable

public class ServerLogImpl
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IServerLog, IServerLog2

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

Description 'The ServerLogImp1 object which methods to query and retrieve records from the ArcGIS Server logs.' 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.server.IServerLog
IID, IID44dc928c_0350_4bdb_9970_4d5ca68b4117, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IServerLog2
IID, IIDb7729ab3_6fd1_402d_9162_ae21b9ec545e, xxDummy
 
Constructor Summary
ServerLogImpl(java.lang.Object obj)
          Construct a ServerLogImpl using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 IServerLogQuery createQuery()
          Creates an IServerLogQuery for interrogating the ArcGIS server logs.
 boolean equals(java.lang.Object o)
          Compare this object with another
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getLogRecords(IServerLogQuery pQuery)
          Retrieves ArcGIS Server log records using an IServerLogQuery.
 int hashCode()
          the hashcode for this object
 void release()
          Release a ServerLogImpl.
 void releaseLog()
          Release the server log back to the server so it can be used by another client.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerLogImpl

public ServerLogImpl(java.lang.Object obj)
              throws java.io.IOException
Construct a ServerLogImpl using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ServerLogImpl.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ServerLogImpl o = (ServerLogImpl)obj; // will not work

ServerLogImpl o = new ServerLogImpl(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems ServerLogImpl theServerLogImpl = (ServerLogImpl) obj;
Method Detail

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 ServerLogImpl.

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

createQuery

public IServerLogQuery createQuery()
                            throws java.io.IOException,
                                   AutomationException
Creates an IServerLogQuery for interrogating the ArcGIS server logs.

Specified by:
createQuery in interface IServerLog
Returns:
A reference to a com.esri.arcgis.server.IServerLogQuery
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLogRecords

public java.lang.String getLogRecords(IServerLogQuery pQuery)
                               throws java.io.IOException,
                                      AutomationException
Retrieves ArcGIS Server log records using an IServerLogQuery.

Specified by:
getLogRecords in interface IServerLog
Parameters:
pQuery - A reference to a com.esri.arcgis.server.IServerLogQuery (in)
Returns:
The results
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

releaseLog

public void releaseLog()
                throws java.io.IOException,
                       AutomationException
Release the server log back to the server so it can be used by another client.

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