public class DBEventStore extends Object implements NotificationListener, EventStoreConstants
ALERTS_TASK_ID, EVENT_POLICY_FILTER_TYPE, EVENT_STORE_DB_NAME, EVENT_STORE_DELETE_EVENT_BY_DATE, EVENT_STORE_DELETE_EVENT_BY_ID, EVENT_STORE_DELETE_EVENT_BY_LEVEL, EVENT_STORE_EVENT_COUNT, EVENT_STORE_GET_EVENT_DATES, EVENTID_SEED, INSERT_STATEMENT_ORACLE, INSERT_STATEMENT_OTHER, ONE_OF_GLASSFISH_DOMAIN_NAMES| Modifier and Type | Method and Description |
|---|---|
void |
deleteEvent(String aEventId) |
void |
enablePolicyExecution(boolean aEnable) |
static DBEventStore |
getInstance(AlertPersistenceConfiguration aAlertPersistenceConfiguration,
MBeanServerConnection aMBeanServer,
PlatformContext aPlatformContext) |
int |
getPersistedEventCount() |
void |
handleNotification(Notification notification,
Object handback) |
void |
initializeDataSource() |
void |
reInitializeDataSource(String aNewJndi) |
void |
save(NotificationEvent notificationEvent) |
void |
setDataSourceJndiName(String aJndiName) |
void |
unRegisterTimerService() |
void |
UpdatePolicyExecutionInterval(Long aNewInterval) |
public static DBEventStore getInstance(AlertPersistenceConfiguration aAlertPersistenceConfiguration, MBeanServerConnection aMBeanServer, PlatformContext aPlatformContext)
public void unRegisterTimerService()
public void setDataSourceJndiName(String aJndiName)
public void deleteEvent(String aEventId) throws ManagementRemoteException
ManagementRemoteExceptionpublic int getPersistedEventCount()
public void enablePolicyExecution(boolean aEnable)
public void UpdatePolicyExecutionInterval(Long aNewInterval)
public void initializeDataSource()
throws ManagementRemoteException
ManagementRemoteExceptionpublic void reInitializeDataSource(String aNewJndi)
public void save(NotificationEvent notificationEvent) throws ManagementRemoteException
ManagementRemoteExceptionpublic void handleNotification(Notification notification, Object handback)
handleNotification in interface NotificationListenerCopyright © 2011-2016 OpenESB Community. All Rights Reserved.