JTools

org.jtools.info.publisher
Class AbstractPublisher

java.lang.Object
  extended by org.jtools.info.publisher.AbstractPublisher
All Implemented Interfaces:
InfoPublisher
Direct Known Subclasses:
DelegatedPublisher, SimplePublisher

public abstract class AbstractPublisher
extends Object
implements InfoPublisher

TODO type-description

Author:
Rainer Noack

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jtools.info.InfoPublisher
InfoPublisher.Support
 
Constructor Summary
AbstractPublisher()
           
 
Method Summary
 void publish(Object ctx, InfoDeclaration declaration)
           
 void publish(Object ctx, InfoDeclaration declaration, Object... args)
          Publishes an information.
 void publish(Object ctx, InfoDeclaration declaration, Throwable exception)
           
abstract  void publish(Object ctx, InfoDeclaration declaration, Throwable exception, Object... args)
          Publishes an information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jtools.info.InfoPublisher
addConsumer, addConsumer, getConsumers, getManager, removeConsumer, removeConsumer
 

Constructor Detail

AbstractPublisher

public AbstractPublisher()
Method Detail

publish

public abstract void publish(Object ctx,
                             InfoDeclaration declaration,
                             Throwable exception,
                             Object... args)
Description copied from interface: InfoPublisher
Publishes an information.

Specified by:
publish in interface InfoPublisher
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.

publish

public final void publish(Object ctx,
                          InfoDeclaration declaration,
                          Object... args)
Description copied from interface: InfoPublisher
Publishes an information.

Specified by:
publish in interface InfoPublisher
Parameters:
ctx - The context of the information.
declaration - The declaration of the information.
args - The arguments of this information as declared in the InfoDeclaration.

publish

public final void publish(Object ctx,
                          InfoDeclaration declaration,
                          Throwable exception)

publish

public final void publish(Object ctx,
                          InfoDeclaration declaration)

JTools

© 2000-2006, JTools.org.