public interface Subscriber
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT_NOTICE |
Modifier and Type | Method and Description |
---|---|
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
FAILURE status type of SubscriberException.
|
void |
shutdownSubscriber()
Shuts down the subscriber
|
static final java.lang.String COPYRIGHT_NOTICE
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 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 EmitterSubscriberException
java.lang.String getSubscriberName()
SubscriberType getSubscriberType()