|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InfoPublisher
Base interface for the info feature.
Nested Class Summary | |
---|---|
static interface |
InfoPublisher.Support
Interface for Feature oriented design. |
Method Summary | |
---|---|
boolean |
addConsumer(Collection<? extends InfoConsumer> x)
|
boolean |
addConsumer(InfoConsumer... x)
|
Collection<InfoConsumer> |
getConsumers()
|
Manager |
getManager()
|
void |
publish(Object ctx,
InfoDeclaration declaration,
Object... args)
Publishes an information. |
void |
publish(Object ctx,
InfoDeclaration declaration,
Throwable exception,
Object... args)
Publishes an information. |
boolean |
removeConsumer(Collection<? extends InfoConsumer> x)
|
boolean |
removeConsumer(InfoConsumer... x)
|
Method Detail |
---|
void publish(Object ctx, InfoDeclaration declaration, Throwable exception, Object... args)
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.void publish(Object ctx, InfoDeclaration declaration, Object... args)
ctx
- The context of the information.declaration
- The declaration of the information.args
- The arguments of this information as declared in the InfoDeclaration.boolean addConsumer(InfoConsumer... x)
boolean addConsumer(Collection<? extends InfoConsumer> x)
boolean removeConsumer(InfoConsumer... x)
boolean removeConsumer(Collection<? extends InfoConsumer> x)
Collection<InfoConsumer> getConsumers()
Manager getManager()
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |