com.ddtek.xquery3
Interface ExtLogControl


public interface ExtLogControl

External XQJ Spy logging controller interface


Method Summary
 boolean getEnableLogging()
          Indicates whether XQJ Spy logging was enabled when the connection was created and whether logging is turned on.
 void setEnableLogging(boolean enable)
          Enable XQJ Spy logging
If XQJ Spy was enabled when the connection was created, you can turn on or off XQJ Spy logging at runtime using this method.
 

Method Detail

setEnableLogging

public void setEnableLogging(boolean enable)
                      throws XQException
Enable XQJ Spy logging
If XQJ Spy was enabled when the connection was created, you can turn on or off XQJ Spy logging at runtime using this method. If true, logging is turned on. If false, logging is turned off. If XQJ Spy logging was not enabled when the connection was created, calling this method has no effect.

Parameters:
enable - boolean indicating spy logging has to be enabled or disabled
Throws:
XQException

getEnableLogging

public boolean getEnableLogging()
                         throws XQException
Indicates whether XQJ Spy logging was enabled when the connection was created and whether logging is turned on. If the returned value is true, logging is turned on. If the returned value is false, logging is turned off.

Returns:
true if logging is enabled, else false is returned
Throws:
XQException