com.ibm.websphere.webmsg.publisher
Interface Publisher
All known implementing classes:
- public interface Publisher
Method Summary
Modifier and Type | Method and Description |
---|---|
|
close()
Close publisher, includes shutting down any connections, etc.
|
|
initialize(PublisherContext context)
Initialize the publisher.
|
|
publish(WebMessage message)
Publish given message to interested parties.
|
Method Detail
close
- void close()
- throws PublisherException
Close publisher, includes shutting down any connections, etc.
Throws:
PublisherException
- If error closing publisher. initialize
- void initialize(PublisherContext context)
- throws PublisherException
Initialize the publisher.
Parameters:
context
- - Context in which the publisher is running. Throws:
PublisherException
- - if there is initialization error. publish
- void publish(WebMessage message)
- throws PublisherException
Publish given message to interested parties.
Parameters:
message
- Message to be published. Throws:
PublisherException
- If there is any error with publishing the exception.