ibspan.log4jade.service
Class LoggingPolicy

java.lang.Object
  extended by ibspan.log4jade.service.LoggingPolicy
Direct Known Subclasses:
TeamLoggingPolicy

public abstract class LoggingPolicy
extends Object

Logging Policy

Author:
Maciej Gawinecki

Constructor Summary
LoggingPolicy(String directory)
           
 
Method Summary
 LoggerRepository getRepository(AgentEventsBuffer buffer)
           
protected abstract  String getRepositoryKey(AgentContext context)
          Return the key of the repository on the base of agent context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingPolicy

public LoggingPolicy(String directory)
Method Detail

getRepositoryKey

protected abstract String getRepositoryKey(AgentContext context)
Return the key of the repository on the base of agent context

Returns:

getRepository

public LoggerRepository getRepository(AgentEventsBuffer buffer)