1.0.0

org.eclipse.soda.dk.notification.service
Interface NotificationService

All Known Implementing Classes:
Notification, NotificationController, NotificationController, NotificationEventAdmin

public interface NotificationService

Version:
1.0.0

Field Summary
static java.lang.String ERROR_EXTERNAL_KEY
          Define the error external key (String) constant.
static java.lang.String EXCEPTION_DATA_KEY
          Define the exception data key (String) constant.
static java.lang.String EXECUTE_EXTERNAL_KEY
          Define the execute (String) constant.
static java.lang.String FACTORY_SERVICE_NAME
          Define the factory service name (String) constant.
static java.lang.String GET_EXTERNAL_KEY
          Define the get (String) constant.
static java.lang.String MESSAGE_DATA_KEY
          Define the message data key (String) constant.
static java.lang.String READ_EXTERNAL_KEY
          Define the read (String) constant.
static java.lang.String SERVICE_NAME
          Define the service name (String) constant.
static java.lang.String SET_EXTERNAL_KEY
          Define the set external key (String) constant.
static java.lang.String TIMESTAMP_DATA_KEY
          Define the timestamp data key (String) constant.
static char TOPIC_DELIMITER
          Define the topic delimiter (char) constant.
static java.lang.String TOPIC_DELIMITER_STRING
          Define the topic delimiter string (String) constant.
static char TOPIC_WILDCARD
          Define the topic wildcard (char) constant.
static java.lang.String TOPIC_WILDCARD_STRING
          Define the topic wildcard string (String) constant.
static java.lang.String TRIGGER_EXTERNAL_KEY
          Define the trigger (String) constant.
static java.lang.String VALUE_DATA_KEY
          Define the value data key (String) constant.
static java.lang.String VALUE_OLD_DATA_KEY
          Define the value old data key (String) constant.
static java.lang.String WRITE_EXTERNAL_KEY
          Define the write (String) constant.
 
Method Summary
 void broadcast(java.lang.String externalKey, java.util.Dictionary data)
          Notify with the specified externalKey and data parameters.
 void register(java.lang.String[] externalKeys, NotificationListener listener)
          Register with the specified externalKeys and listener parameters.
 void register(java.lang.String externalKey, NotificationListener listener)
          Register with the specified externalKey and listener parameters.
 void unregister(NotificationListener listener)
          Unregister with the specified listener parameter.
 

Field Detail

SERVICE_NAME

static final java.lang.String SERVICE_NAME
Define the service name (String) constant.

See Also:
Constant Field Values

FACTORY_SERVICE_NAME

static final java.lang.String FACTORY_SERVICE_NAME
Define the factory service name (String) constant.

See Also:
Constant Field Values

GET_EXTERNAL_KEY

static final java.lang.String GET_EXTERNAL_KEY
Define the get (String) constant.

See Also:
Constant Field Values

READ_EXTERNAL_KEY

static final java.lang.String READ_EXTERNAL_KEY
Define the read (String) constant.

See Also:
Constant Field Values

WRITE_EXTERNAL_KEY

static final java.lang.String WRITE_EXTERNAL_KEY
Define the write (String) constant.

See Also:
Constant Field Values

SET_EXTERNAL_KEY

static final java.lang.String SET_EXTERNAL_KEY
Define the set external key (String) constant.

See Also:
Constant Field Values

EXECUTE_EXTERNAL_KEY

static final java.lang.String EXECUTE_EXTERNAL_KEY
Define the execute (String) constant.

See Also:
Constant Field Values

ERROR_EXTERNAL_KEY

static final java.lang.String ERROR_EXTERNAL_KEY
Define the error external key (String) constant.

See Also:
Constant Field Values

TRIGGER_EXTERNAL_KEY

static final java.lang.String TRIGGER_EXTERNAL_KEY
Define the trigger (String) constant.

See Also:
Constant Field Values

TOPIC_DELIMITER

static final char TOPIC_DELIMITER
Define the topic delimiter (char) constant.

See Also:
Constant Field Values

TOPIC_DELIMITER_STRING

static final java.lang.String TOPIC_DELIMITER_STRING
Define the topic delimiter string (String) constant.

See Also:
Constant Field Values

TOPIC_WILDCARD

static final char TOPIC_WILDCARD
Define the topic wildcard (char) constant.

See Also:
Constant Field Values

TOPIC_WILDCARD_STRING

static final java.lang.String TOPIC_WILDCARD_STRING
Define the topic wildcard string (String) constant.

See Also:
Constant Field Values

TIMESTAMP_DATA_KEY

static final java.lang.String TIMESTAMP_DATA_KEY
Define the timestamp data key (String) constant.

See Also:
Constant Field Values

EXCEPTION_DATA_KEY

static final java.lang.String EXCEPTION_DATA_KEY
Define the exception data key (String) constant.

See Also:
Constant Field Values

MESSAGE_DATA_KEY

static final java.lang.String MESSAGE_DATA_KEY
Define the message data key (String) constant.

See Also:
Constant Field Values

VALUE_DATA_KEY

static final java.lang.String VALUE_DATA_KEY
Define the value data key (String) constant.

See Also:
Constant Field Values

VALUE_OLD_DATA_KEY

static final java.lang.String VALUE_OLD_DATA_KEY
Define the value old data key (String) constant.

See Also:
Constant Field Values
Method Detail

broadcast

void broadcast(java.lang.String externalKey,
               java.util.Dictionary data)
Notify with the specified externalKey and data parameters. The externalKey (String) parameter. The data (Object) parameter.

Parameters:
externalKey - The external key (String) parameter.
data - The data (Dictionary) parameter.

register

void register(java.lang.String externalKey,
              NotificationListener listener)
Register with the specified externalKey and listener parameters. The externalKey (String) parameter. The listener (NotificationListener) parameter.

Parameters:
externalKey - The external key (String) parameter.
listener - The listener (NotificationListener) parameter.
See Also:
register(String[],NotificationListener)

register

void register(java.lang.String[] externalKeys,
              NotificationListener listener)
Register with the specified externalKeys and listener parameters. The externalKeys (String[]) parameter. The listener (NotificationListener) parameter.

Parameters:
externalKeys - The external keys (String[]) parameter.
listener - The listener (NotificationListener) parameter.
See Also:
register(String,NotificationListener)

unregister

void unregister(NotificationListener listener)
Unregister with the specified listener parameter. The listener (NotificationListener) parameter.

Parameters:
listener - The listener (NotificationListener) parameter.

1.0.0

Copyright (c) 1999, 2007 IBM