© 2001 BEA Systems, Inc.

com.bea.commerce.platform.events
Interface EventConstants

All Known Implementing Classes:
Event, AsynchronousEventHandler

public interface EventConstants

Encapsulates constants associated with events. All classes in the event service should use these constants to avoid typos, conflicting names, etc.


Field Summary
static java.lang.String ASYNCHRONOUS_LISTENER_CLASSES_PROPERTY
          Property name (weblogiccommerce.properties) for listener classes to deploy to the asynchronous event service.
static java.lang.String EVENT_LISTENER_CLASSES_PROPERTY
          Property name (weblogiccommerce.properties) for listener classes to deploy to the EventService.
static java.lang.String EVENT_MESSAGE_CATALOG
          MessageCatalog namespace for events messages.
static java.lang.String ILLEGAL_ARGUMENT_EXCEPTION_NULL_TYPE
          MessageCatalog entry for the message of the IllegalArgumentException thrown by Event constructor if the Event type is null or an empty string.
static java.lang.String LISTENER_CREATE_EXCEPTION
          MessageCatalog entry for the message that is logged by EventService if one of the EventListener classes can not be instantiated.
static java.lang.String NULL_POINTER_EXCEPTION_ATTRIBUTE_KEY
          MessageCatalog entry for the message of the NullPointerException thrown by Event constructor if the Event attribute is given a null key name.
static java.lang.String TYPE_ALL
          If EventListener.getTypes() returns this value, then the handler will dispatch every event to the listener.
 

Field Detail

TYPE_ALL

public static final java.lang.String TYPE_ALL
If EventListener.getTypes() returns this value, then the handler will dispatch every event to the listener.

EVENT_LISTENER_CLASSES_PROPERTY

public static final java.lang.String EVENT_LISTENER_CLASSES_PROPERTY
Property name (weblogiccommerce.properties) for listener classes to deploy to the EventService. The property with this name should contain a comma-delimited list of EventListener classes

EVENT_MESSAGE_CATALOG

public static final java.lang.String EVENT_MESSAGE_CATALOG
MessageCatalog namespace for events messages.

ILLEGAL_ARGUMENT_EXCEPTION_NULL_TYPE

public static final java.lang.String ILLEGAL_ARGUMENT_EXCEPTION_NULL_TYPE
MessageCatalog entry for the message of the IllegalArgumentException thrown by Event constructor if the Event type is null or an empty string.

NULL_POINTER_EXCEPTION_ATTRIBUTE_KEY

public static final java.lang.String NULL_POINTER_EXCEPTION_ATTRIBUTE_KEY
MessageCatalog entry for the message of the NullPointerException thrown by Event constructor if the Event attribute is given a null key name.

LISTENER_CREATE_EXCEPTION

public static final java.lang.String LISTENER_CREATE_EXCEPTION
MessageCatalog entry for the message that is logged by EventService if one of the EventListener classes can not be instantiated.

ASYNCHRONOUS_LISTENER_CLASSES_PROPERTY

public static final java.lang.String ASYNCHRONOUS_LISTENER_CLASSES_PROPERTY
Property name (weblogiccommerce.properties) for listener classes to deploy to the asynchronous event service. The property with this name should contain a comma-delimited list of EventListener classes. These listeners are used if com.bea.commerce.platform.events.listeners.AsynchronousListener is used in eventService.listeners.

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved