public final class EventManagementControllerMBean extends NotificationBroadcasterSupport implements DynamicMBean, MBeanRegistration, Serializable, NotificationListener, EventManagementConstants
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<MBeanAttributeInfo> |
mAttributesInfo
MBean attributes
|
protected ArrayList<MBeanConstructorInfo> |
mConstructorsInfo
MBean constructors
|
protected MBeanInfo |
mMBeanInfo
MBean info
|
protected ArrayList<MBeanNotificationInfo> |
mNotificationsInfo
MBean notifications
|
protected ArrayList<MBeanOperationInfo> |
mOperationsInfo
MBean operations
|
ACKNOWLEDGE_ALERT_RECEPTION, ALERT_REGISTRATION_WITH_TARGET, CHECK_LISTENER_UUID, CURRENT_PERSISTED_EVENT_COUNT_ATTRIBUTE_NAME, DATABASE_ALERT_TABLE_NAME__ATTRIBUTE_NAME, DATABASE_ALERT_TABLE_NAME_PROPERTY_NAME, DATABASE_JNDI_NAME__ATTRIBUTE_NAME, DATABASE_JNDI_NAME_PROPERTY, DATABASE_TYPE_ATTRIBUTE_NAME, DATABASE_TYPE_PROPERTY, DEFAULT_INTERVAL, DEFAULT_MAX_CACHE_SIZE, DEFAULT_POLICY_EXEC_INTERVAL, DEFAULT_TARGET_CHECK_INTERVAL, DISABLE_PERSISTENCE_OPERATION_NAME, ENABLE_PERSISTENCE_ATTRIBUTE_NAME, ENABLE_PERSISTENCE_OPERATION_NAME, ENABLE_POLICY_EXECUTION_ATTRIBUTE_NAME, EVENT_CONFIG_DIRECTORY, EVENT_CONFIG_PROPERTIES_FILE, EVENT_CREATEFORWARD_OPERATION, EVENT_FORWARD_OPERATION, EVENT_MAMAGENEMT_TABLE_PREFIX, EVENT_MANAGEMENT_REMOVAL_POLICY_TIMER_MBEAN_NAME, EVENT_MANAGEMENT_TARGET_CHECK_TIMER_MBEAN_NAME, EVENT_MANAGEMENT_UNIQUE_TABLE_NAME_ATTRIBUTE_NAME, EVENT_TARGETCHECK_FILTER_TYPE, EVENTMANAGEMENT_CHANNEL_MBEAN_NAME, GET_ATTRIBUTE_OP, GET_DAS_ADMINSERVER_INFO, GET_HTTP_SERVER_INFO, GET_LAST_PERSISTED_ALERT_REMOVAL_PROLICY_OPERATION_NAME, GET_QUEUED_EVENTS, IN_MEMORY_MAX_CACHE_PROPERTY, INVOKE_OP, IS_SECURE_ADMIN_PORT, JBI_INSTALL_ROOT_ATTRIBUTE_NAME, JCAPS_EVENT_TYPE, JOURNAL_ENABLED_ATTRIBUTE_NAME, JOURNAL_ENABLED_PROPERTY, MAX_CACHE, MAX_CACHESIZE_ATTRIBUTE_NAME, MBEAN_SERVER_DELEGATE_OBJECT_NAME, PERSISTED_ALERT_LEVEL_ATTRIBUTE_NAME, PERSISTED_ALERT_MAX_AGE_ATTRIBUTE_NAME, PERSISTED_ALERT_MAX_COUNT_ATTRIBUTE_NAME, PERSISTED_ALERT_REMOVAL_PROLICY_EXEC_INTERVAL_ATTRIBUTE_NAME, PERSISTENCE_ENABLED_ATTRIBUTE_NAME, PERSISTENCE_ENABLED_PROPERTY, PERSISTENCE_ENFORCED_POLICY_DELIMITER, PERSISTENCE_ENFORCED_POLICY_PROPERTY, PERSISTENCE_POLICY_ALERT_AGE_PROPERTY, PERSISTENCE_POLICY_ALERT_COUNT_PROPERTY, PERSISTENCE_POLICY_ALERT_LEVEL_PROPERTY, PERSISTENCE_POLICY_EXEC_ENABLED_PROPERTY, PERSISTENCE_POLICY_EXEC_INTERVAL_PROPERTY, PHYSICAL_HOST_PORT_ATTRIBUTE_NAME, SET_ATTRIBUTE_OP, TARGET_CHECK_INTERVAL_ATTRIBUTE_NAME, UPDATE_PERSISTED_ALERT_REMOVAL_PROLICY_OPERATION_NAME| Constructor and Description |
|---|
EventManagementControllerMBean(EnvironmentContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildDynamicMBeanInfo()
Build the protected MBeanInfo field,
which represents the management interface exposed by the MBean;
i.e., the set of attributes, constructors, operations and notifications
which are available for management.
|
void |
forwardJMXNotificationToDeliveryChannel(String aInstanceName) |
Object |
getAttribute(String aName) |
AttributeList |
getAttributes(String[] aNames) |
MBeanInfo |
getMBeanInfo() |
void |
handleNotification(Notification notification,
Object handback) |
Object |
invoke(String operationName,
Object[] params,
String[] signature)
Invokes an operation on the Dynamic MBean.
|
void |
postDeregister() |
void |
postRegister(Boolean registrationDone) |
void |
preDeregister() |
ObjectName |
preRegister(MBeanServer server,
ObjectName name) |
void |
setAttribute(Attribute aAttribute) |
AttributeList |
setAttributes(AttributeList aAttributes)
Sets the value of specified aAttributes of the Dynamic MBean.
|
void |
unRegisterTimerService() |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotificationprotected ArrayList<MBeanAttributeInfo> mAttributesInfo
protected ArrayList<MBeanConstructorInfo> mConstructorsInfo
protected ArrayList<MBeanOperationInfo> mOperationsInfo
protected ArrayList<MBeanNotificationInfo> mNotificationsInfo
protected MBeanInfo mMBeanInfo
public EventManagementControllerMBean(EnvironmentContext context) throws Exception
Exceptionprotected void buildDynamicMBeanInfo()
public Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke in interface DynamicMBeanoperationName - The name of the action to be invokedparams - An array containing the parameters to be set when the
action is invokedsignature - An array containing the aSignature of the action.MBeanException - MBeanExceptionReflectionException - ReflectionExceptionpublic void postDeregister()
postDeregister in interface MBeanRegistrationpublic void postRegister(Boolean registrationDone)
postRegister in interface MBeanRegistrationpublic void preDeregister()
preDeregister in interface MBeanRegistrationpublic ObjectName preRegister(MBeanServer server, ObjectName name)
preRegister in interface MBeanRegistrationpublic Object getAttribute(String aName) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute in interface DynamicMBeanAttributeNotFoundExceptionMBeanExceptionReflectionExceptionpublic AttributeList getAttributes(String[] aNames)
getAttributes in interface DynamicMBeanpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeanpublic void setAttribute(Attribute aAttribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute in interface DynamicMBeanAttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionExceptionpublic void handleNotification(Notification notification, Object handback)
handleNotification in interface NotificationListenerpublic void forwardJMXNotificationToDeliveryChannel(String aInstanceName)
public AttributeList setAttributes(AttributeList aAttributes)
setAttributes in interface DynamicMBeanaAttributes - list of attribute names and values.public void unRegisterTimerService()
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.