org.openmdx.kernel.log
Interface ManageableMechanism

All Known Implementing Classes:
AbstractFileLoggingMechanism, AbstractLoggingMechanism, AppLog, Log, PluggableLoggingMechanismProxy, RemoteSinkLog, SharedDatedFileLoggingMechanism, SharedDatedFileStatisticsMechanism, SharedFileLoggingMechanism, SharedFileStatisticsMechanism, SLF4JLoggingMechanism, SocketLoggingMechanism, StandardErrLoggingMechanism, SysLog, UniqueFileLoggingMechanism

public interface ManageableMechanism


Method Summary
 List getActiveEntities()
          Returns a list of all active (in use) log entities that are available by the file logging mechanisms controlled by this logger
 List getReadableEntities()
          Returns a list of all readable log entities that are available by the file logging mechanisms controlled by this logger
 LogEntityReader getReader(LogEntity entity)
          Returns an entity reader for given log entity
 List getRemoveableEntities()
          Returns a list of all removeable log entities that are available by the file logging mechanisms controlled by this logger
 void removeEntity(LogEntity entity)
          Remove a log entity
 

Method Detail

getActiveEntities

List getActiveEntities()
Returns a list of all active (in use) log entities that are available by the file logging mechanisms controlled by this logger

Returns:
a list of LogEntity objects

getReadableEntities

List getReadableEntities()
Returns a list of all readable log entities that are available by the file logging mechanisms controlled by this logger

Returns:
a list of log entity names

getRemoveableEntities

List getRemoveableEntities()
Returns a list of all removeable log entities that are available by the file logging mechanisms controlled by this logger

Returns:
a list of log entitiy names

removeEntity

void removeEntity(LogEntity entity)
Remove a log entity

Parameters:
String - an entity name

getReader

LogEntityReader getReader(LogEntity entity)
Returns an entity reader for given log entity

Parameters:
String - an entity name


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.