ibspan.log4jade.service
Class LoggingServiceAgent

java.lang.Object
  extended by jade.core.Agent
      extended by ibspan.log4jade.service.LoggingServiceAgent
All Implemented Interfaces:
TimerListener, Serializable, Runnable

public class LoggingServiceAgent
extends Agent

Logging Center Agent is agent responsible for gathering logging events from all the agents in the system.

Author:
Maciej Gawinecki , Jaran Nilsen Contributors:
  • Caire Giovanni
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jade.core.Agent
Agent.Interrupted
 
Field Summary
protected  Logger logger
           
static String LOGGING_CONF_DIR
           
static String LOGGING_POLICY_KEY
           
static String LOGGING_SERVICE_NAME
           
static String LOGGING_SERVICE_TYPE
           
 
Fields inherited from class jade.core.Agent
AP_ACTIVE, AP_DELETED, AP_IDLE, AP_INITIATED, AP_MAX, AP_MIN, AP_SUSPENDED, AP_WAITING, D_ACTIVE, D_MAX, D_MIN, D_RETIRED, D_SUSPENDED, D_UNKNOWN
 
Constructor Summary
LoggingServiceAgent()
           
 
Method Summary
protected  void setup()
           
protected  void takeDown()
           
 
Methods inherited from class jade.core.Agent
addBehaviour, afterClone, afterMove, beforeClone, beforeMove, blockingReceive, blockingReceive, blockingReceive, blockingReceive, changeStateTo, clean, doActivate, doClone, doDelete, doMove, doSuspend, doTimeOut, doWait, doWait, doWake, getAgentState, getAID, getAMS, getArguments, getContainerController, getContentManager, getCurQueueSize, getDefaultDF, getHap, getHelper, getLocalName, getName, getO2AObject, getProperty, getQueueSize, getState, here, notifyChangeBehaviourState, notifyRestarted, postMessage, putBack, putO2AObject, receive, receive, removeBehaviour, restartLater, restore, restoreBufferedState, run, send, setArguments, setEnabledO2ACommunication, setGenerateBehaviourEvents, setQueueSize, waitUntilStarted, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGING_SERVICE_TYPE

public static final String LOGGING_SERVICE_TYPE
See Also:
Constant Field Values

LOGGING_SERVICE_NAME

public static final String LOGGING_SERVICE_NAME
See Also:
Constant Field Values

LOGGING_POLICY_KEY

public static final String LOGGING_POLICY_KEY
See Also:
Constant Field Values

LOGGING_CONF_DIR

public static final String LOGGING_CONF_DIR
See Also:
Constant Field Values

logger

protected Logger logger
Constructor Detail

LoggingServiceAgent

public LoggingServiceAgent()
Method Detail

setup

protected void setup()
Overrides:
setup in class Agent

takeDown

protected void takeDown()
Overrides:
takeDown in class Agent