vishnu.logging
Interface Logger<M>

All Known Implementing Classes:
LoggerImpl

public interface Logger<M>

Author:
Hernan Rancati Models an object responsible for managing a list of entities with persistence and update support.
 

Method Summary
 void add(M m)
          Adds @param m to this manager.
 java.util.Collection<M> all()
          Returns every managed object by this manager.
 M last()
          Returns the last managed object added to this manager.
 void reset()
          alters this manager leaving it as new (whitout managed instances).
 void stop()
          stops this manager.
 void update(M m)
          Updates m in this manager.
 

Method Detail

all

java.util.Collection<M> all()
Returns every managed object by this manager.


last

M last()
Returns the last managed object added to this manager.


add

void add(M m)
Adds @param m to this manager.


update

void update(M m)
Updates m in this manager.


reset

void reset()
alters this manager leaving it as new (whitout managed instances).


stop

void stop()
stops this manager. No further operation will be accepted over this manager.