001: /*
002: * BEGIN_HEADER - DO NOT EDIT
003: *
004: * The contents of this file are subject to the terms
005: * of the Common Development and Distribution License
006: * (the "License"). You may not use this file except
007: * in compliance with the License.
008: *
009: * You can obtain a copy of the license at
010: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
011: * See the License for the specific language governing
012: * permissions and limitations under the License.
013: *
014: * When distributing Covered Code, include this CDDL
015: * HEADER in each file and include the License file at
016: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
017: * If applicable add the following below this CDDL HEADER,
018: * with the fields enclosed by brackets "[]" replaced with
019: * your own identifying information: Portions Copyright
020: * [year] [name of copyright owner]
021: */
022:
023: /*
024: * @(#)EventManagementConstants.java
025: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
026: *
027: * END_HEADER - DO NOT EDIT
028: */
029:
030: package com.sun.esb.eventmanagement.impl;
031:
032: public interface EventManagementConstants {
033:
034: public static final String EVENTMANAGEMENT_CHANNEL_MBEAN_NAME = "EventManagement:name=EventManagementChannelSupportMBean";
035: public static final String MBEAN_SERVER_DELEGATE_OBJECT_NAME = "JMImplementation:type=MBeanServerDelegate";
036: public static final String EVENT_MANAGEMENT_REMOVAL_POLICY_TIMER_MBEAN_NAME = "EventManagement:type=service,name=RemovalPolicyIntervalTimerService";
037: public static final String EVENT_MANAGEMENT_TARGET_CHECK_TIMER_MBEAN_NAME = "EventManagement:type=service,name=InstanceCheckIntervalTimerService";
038: public static final String EVENT_FORWARD_OPERATION = "forwardEvent";
039: public static final String EVENT_CREATEFORWARD_OPERATION = "createAndForwardEvent";
040: public static final String JBI_INSTALL_ROOT_ATTRIBUTE_NAME = "JBIInstallRoot";
041: public static final String ACKNOWLEDGE_ALERT_RECEPTION = "acknowledgeAlertReception";
042: public static final String EVENT_MANAGEMENT_UNIQUE_TABLE_NAME_ATTRIBUTE_NAME = "EMuniqueTableName";
043: public static final String JCAPS_EVENT_TYPE = "JCAPSEvent";
044:
045: public static final int DEFAULT_INTERVAL = 60000; // 1 minute
046: public static final int MAX_CACHE = 500;
047: public static final Long DEFAULT_POLICY_EXEC_INTERVAL = new Long(
048: DEFAULT_INTERVAL * 10); // EVERY 10 MIN.
049: public static final Long DEFAULT_TARGET_CHECK_INTERVAL = new Long(
050: 3000); // EVERY 3 Sec.
051: public static final String EVENT_TARGETCHECK_FILTER_TYPE = "eventManagement.instanceCheck";
052:
053: /**
054: * Process controller MBean's "invoke" operation name
055: */
056: public static final String EVENT_MAMAGENEMT_TABLE_PREFIX = "EVENTMANAGEMENT";
057:
058: public static final String EVENT_CONFIG_DIRECTORY = "/config";
059: public static final String EVENT_CONFIG_PROPERTIES_FILE = "eventmanagement.properties";
060:
061: public static final String DATABASE_TYPE_PROPERTY = "DatabaseType";
062: public static final String DATABASE_JNDI_NAME_PROPERTY = "DBJndiName";
063: public static final String PERSISTENCE_ENABLED_PROPERTY = "PersistenceEnabled";
064: public static final String JOURNAL_ENABLED_PROPERTY = "journalEnabled";
065: public static final String PERSISTENCE_POLICY_EXEC_ENABLED_PROPERTY = "PersistencePolicyExecEnabled";
066: public static final String PERSISTENCE_POLICY_EXEC_INTERVAL_PROPERTY = "PersistencePolicyExecInterval";
067: public static final String PERSISTENCE_POLICY_ALERT_LEVEL_PROPERTY = "PersistenceAlertLevel";
068: public static final String PERSISTENCE_POLICY_ALERT_AGE_PROPERTY = "PersistenceAlertAge";
069: public static final String PERSISTENCE_POLICY_ALERT_COUNT_PROPERTY = "PersistenceAlertCount";
070: public static final String PERSISTENCE_ENFORCED_POLICY_PROPERTY = "PolicyEnforced";
071: public static final String PERSISTENCE_ENFORCED_POLICY_DELIMITER = ",";
072: public static final String DATABASE_ALERT_TABLE_NAME_PROPERTY_NAME = "AlertTableName";
073:
074: // the following constant are identical to the constants define in AlertConstants.java
075: // in the CAPSManagementAPI alerts package. they must kept in sync until it will merge
076: // into the open source project (at which time they should be removed here and referenced
077: // by include the CAPSManagementAPI jars
078:
079: public static final String DISABLE_PERSISTENCE_OPERATION_NAME = "disableAlertsPersistence";
080: public static final String ENABLE_PERSISTENCE_OPERATION_NAME = "enableAlertsPersistence";
081: public static final String UPDATE_PERSISTED_ALERT_REMOVAL_PROLICY_OPERATION_NAME = "updatePersistedAlertRemovalPolicy";
082: public static final String GET_LAST_PERSISTED_ALERT_REMOVAL_PROLICY_OPERATION_NAME = "getLastPersistedAlertRemovalPolicy";
083: public static final String CHECK_LISTENER_UUID = "checkListenerID";
084: public static final String SET_ATTRIBUTE_OP = "setAttribute";
085: public static final String GET_ATTRIBUTE_OP = "getAttribute";
086: public static final String INVOKE_OP = "invoke";
087: public static final String ALERT_REGISTRATION_WITH_TARGET = "RegisterWithTarget";
088: public static final String GET_HTTP_SERVER_INFO = "getHttpServerInfo";
089: public static final String GET_DAS_ADMINSERVER_INFO = "getDasAdminServerInfo";
090: public static final String IS_SECURE_ADMIN_PORT = "isSecureAdminPort";
091: public static final String GET_QUEUED_EVENTS = "getQueuedEvents";
092:
093: public static final String PERSISTENCE_ENABLED_ATTRIBUTE_NAME = "alertsPersistenceEnabled";
094: public static final String JOURNAL_ENABLED_ATTRIBUTE_NAME = "alertsJournalEnabled";
095: public static final String ENABLE_PERSISTENCE_ATTRIBUTE_NAME = "enableTargetPersistence";
096: public static final String ENABLE_POLICY_EXECUTION_ATTRIBUTE_NAME = "enablePolicyExcution";
097: public static final String PERSISTED_ALERT_MAX_AGE_ATTRIBUTE_NAME = "persistedAlertMaxAge";
098: public static final String PERSISTED_ALERT_MAX_COUNT_ATTRIBUTE_NAME = "persistedAlertMaxCount";
099: public static final String PERSISTED_ALERT_LEVEL_ATTRIBUTE_NAME = "persistedAlertLevel";
100: public static final String PERSISTED_ALERT_REMOVAL_PROLICY_EXEC_INTERVAL_ATTRIBUTE_NAME = "persistedAlertsRemovalPolicyExecInterval";
101: public static final String MAX_CACHESIZE_ATTRIBUTE_NAME = "maxInMemoryEventCacheSize";
102: public static final String DATABASE_ALERT_TABLE_NAME__ATTRIBUTE_NAME = "alertTableName";
103: public static final String CURRENT_PERSISTED_EVENT_COUNT_ATTRIBUTE_NAME = "CurrentPersistedEventsCount";
104: public static final String DATABASE_JNDI_NAME__ATTRIBUTE_NAME = "DBJndiName";
105: public static final String DATABASE_TYPE_ATTRIBUTE_NAME = "DBType";
106: public static final String TARGET_CHECK_INTERVAL_ATTRIBUTE_NAME = "tergetCheckInterval";
107:
108: }
|