|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
EventAccess | Remote interface for the event access enterprise bean. |
EventAccessHome | Remote home interface for the event access enterprise bean. |
EventAccessLocal | Local interface for the event access enterprise bean. |
EventAccessLocalHome | Local home interface for the event access enterprise bean. |
EventChangeRequest | Common interface for all event change requests. |
Class Summary | |
---|---|
AddContextDataElement | A change request used for adding context data elements. |
AddExtendedDataElement | A change request that creates a new extended data element. |
UpdateEventAssociation | A change request used for updating event associations. |
UpdateEventAttribute | A change request used for updating base attribute of an event. |
UpdateExtendedDataElementValues | A change request that updates the value of an existing extended data element. |
Exception Summary | |
---|---|
DataStoreNotEnabledException | This exception is thrown from event access when a method call requires an interaction with the data store and the data store is not enabled. |
EventUpdatesNotSupportedException | This exception is thrown from event access when an event update call requires an interaction with the data store and the data store does not support updates. |
This package enables event consumers to interact with the event access layer.
Applications can use the classes in this package to query and purge the contents of the event data store.
InitialContext context = new InitialContext(); Object eventAccessHomeObj = context.lookup("ejb/com/ibm/events/access/EventAccess");
EventAccessHome eventAccessHome = (EventAccessHome) PortableRemoteObject.narrow(eventAccessHomeObj, EventAccessHome.class); eventAccess = (EventAccess)eventAccessHome.create(); try { eventAccess.queryByEventGroup("critical_hosts", "CommonBaseEvent[@severity>30]", true, // ascending order 5000); // max number of events } catch(EventsException e) { ... }
|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |