***  This interface provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.logging
Interface LoggingServiceInterface

All Superinterfaces:
com.sas.entities.EntityKeyInterface, java.rmi.Remote, RemoteServiceInterface, ServiceNotificationBroadcasterInterface

Deprecated. As of 9.3, replace with direct use of log4j.

@Deprecated
public interface LoggingServiceInterface
extends RemoteServiceInterface

Logging Service Specification.

The LoggingServiceInterface is used to get a LoggerInterface object, which in turn is used to output logging messages. See the Logging Service package information for detailed information.


Field Summary
static int IMPLEMENTATION_LOG4J
          Deprecated. Static used to indicate underlying implementation is Apache log4j.
 
Fields inherited from interface com.sas.services.RemoteServiceInterface
CLASS_IDENTIFIER, CLASS_IDENTIFIER_1_1, CLASS_IDENTIFIER_1_2, CLASS_IDENTIFIER_SERVICE_TYPE, CLASS_IDENTIFIER_SERVICE_TYPE_1_1, CLASS_IDENTIFIER_SERVICE_TYPE_1_2
 
Method Summary
 LoggerInterface getLogger(java.lang.String loggingContext)
          Deprecated. As of 9.3, replace with direct use of log4j.
 LoggerInterface getLogger(java.lang.String loggingContext, SessionContextInterface sessionContext)
          Deprecated. As of 9.3, replace with direct use of log4j.
 
Methods inherited from interface com.sas.services.RemoteServiceInterface
configure, destroy, getCreationTime, getServiceConfiguration, getServiceConfiguration, getServiceProxy, getServiceState, isAccessibleToRemoteClients, isExported, reconfigure, setServiceState
 
Methods inherited from interface com.sas.services.mgmt.ServiceNotificationBroadcasterInterface
addServiceObserver, notifyServiceObservers, removeAllServiceObservers, removeServiceObserver
 

Field Detail

IMPLEMENTATION_LOG4J

static final int IMPLEMENTATION_LOG4J
Deprecated. 
Static used to indicate underlying implementation is Apache log4j.

See Also:
Constant Field Values
Method Detail

getLogger

@Deprecated
LoggerInterface getLogger(java.lang.String loggingContext)
                          throws java.rmi.RemoteException
Deprecated. As of 9.3, replace with direct use of log4j.

Get a Logger Interface without associated session context. The returned Logger will not be capable of session-based logging. Applications can use this method if they do not desire to enable session-based logging. See Remote Logging for details on session-based logging.

Parameters:
loggingContext - identifies the logging context where the Logger will be used. See Hierarchical name space of logging contexts for a description of logging contexts.
Returns:
Logger Interface object.
Throws:
java.rmi.RemoteException

getLogger

@Deprecated
LoggerInterface getLogger(java.lang.String loggingContext,
                                     SessionContextInterface sessionContext)
                          throws java.rmi.RemoteException
Deprecated. As of 9.3, replace with direct use of log4j.

Get a Logger Interface with associated session context.

Parameters:
loggingContext - identifies the logging context where Logger will be used. See Hierarchical name space of logging contexts for a description of logging contexts.
sessionContext - identifies the session within which the current execution is operating. See Remote Logging for details on session-based logging.
Returns:
Logger Interface object.
Throws:
java.rmi.RemoteException

***  This interface provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.