org.jtools.info.publisher
Class DelegatedPublisher
java.lang.Object
org.jtools.info.publisher.AbstractPublisher
org.jtools.info.publisher.DelegatedPublisher
- All Implemented Interfaces:
- InfoPublisher
- Direct Known Subclasses:
- SimpleInfoSupport
public class DelegatedPublisher
- extends AbstractPublisher
TODO type-description
- Author:
- Rainer Noack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegator
protected final InfoPublisher delegator
DelegatedPublisher
public DelegatedPublisher(InfoPublisher delegator)
getManager
public Manager getManager()
getConsumers
public Collection<InfoConsumer> getConsumers()
publish
public void publish(Object ctx,
InfoDeclaration declaration,
Throwable exception,
Object... args)
- Description copied from interface:
InfoPublisher
- Publishes an information.
- Specified by:
publish
in interface InfoPublisher
- Specified by:
publish
in class AbstractPublisher
- Parameters:
ctx
- The context of the information.declaration
- The declaration of the information.exception
- An exception to which this information relies.args
- The arguments of this information as declared in the InfoDeclaration.
addConsumer
public boolean addConsumer(InfoConsumer... x)
addConsumer
public boolean addConsumer(Collection<? extends InfoConsumer> x)
removeConsumer
public boolean removeConsumer(InfoConsumer... x)
removeConsumer
public boolean removeConsumer(Collection<? extends InfoConsumer> x)
© 2000-2006, JTools.org.