|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Subscriber
Subscriber Interface provides a generic interface for various Topic Subscribers to write various subscribers which listen in on various topics from the topic-emitters.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_NOTICE
|
Method Summary | |
---|---|
java.lang.String |
getSubscriberName()
Get the name of the subscriber. |
SubscriberType |
getSubscriberType()
Gets the type of Subscriber, NOTIFICATIONTYPE or MODIFICATIONTYPE |
void |
initSubscriber(java.util.Hashtable initParams)
Initializes the subscriber. |
void |
recovery(java.lang.String emitter,
int exitPointType,
java.lang.String inlineName,
ExceptionContext exceptionContext)
The recovery function is used by subscribers to recover from a CRITICAL_FAILURE status type of SubscriberException. |
void |
shutdownSubscriber()
Shuts down the subscriber |
Field Detail |
---|
static final java.lang.String COPYRIGHT_NOTICE
Method Detail |
---|
void initSubscriber(java.util.Hashtable initParams) throws SubscriberException
initParams
- A Hashtable including parameters that may be used
to initialize the subscriber. This includes the "topicSubscriberName"
key who's corresponding value is the subscriber's name as defined in the
wim configuration file.
SubscriberException
void shutdownSubscriber() throws SubscriberException
SubscriberException
void recovery(java.lang.String emitter, int exitPointType, java.lang.String inlineName, ExceptionContext exceptionContext) throws SubscriberException
emitter
- Name of the emitter in which the CRITICAL_FAILURE occuredexitPointType
- Can be either PREEXIT(0), INLINEEXIT(1), or POSTEXIT(2)
defined in com.ibm.websphere.wim.pluginmanager.context.PluginManagerConstantsinlineName
- Name of the inline exitexceptionContext
- Exception stack that is associated with the execution of the Emitter
SubscriberException
java.lang.String getSubscriberName()
SubscriberType getSubscriberType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |