HAManagedItems MBean

Partial ObjectName:
WebSphere:*,type=HAManagedItems


MBean HAManagedItems

HAManagedItem membership/election information


Operation Summary
java.util.PropertiesgetActiveServerName(java.lang.String groupId)
           Get properties pertaining to the active instance of an HAManagedItem's HAGroup
java.util.PropertiesgetActiveServerName(java.lang.String className, java.lang.String mBeanInterfaceName, java.lang.String groupIdentifier)
           Get properties pertaining to the active instance of an HAManagedItem's HAGroup.
voidsendNotification(java.util.Properties props, java.lang.String notificationType)
           Proxies a JMX Notification - Visualization listens only to the MBean on the dmgr, so when items are activated/deactivated elsewhere, they will invoke this method, which will in turn send out a JMX notification from the HAManagedItems MBean running in the dmgr.

Notification Summary
websphere.hamanageditem.activated
           An item was activated
websphere.hamanageditem.deactivated
           An item was deactivated - this event is NOT guaranteed

Operation Detail

getActiveServerName

public java.util.Properties getActiveServerName(java.lang.String groupId)
Get properties pertaining to the active instance of an HAManagedItem's HAGroup
Parameters:
groupId - name of the HAManagedItem's HAGroup

getActiveServerName

public java.util.Properties getActiveServerName(java.lang.String className, java.lang.String mBeanInterfaceName, java.lang.String groupIdentifier)
Get properties pertaining to the active instance of an HAManagedItem's HAGroup. This generates a groupId based on the input parameters, and invokes the single String parameter overload of this method under the covers.
Parameters:
className - className of the HAManagedItem in question (class that extends HAManagedItem)
mBeanInterfaceName - name of mBeanInterface exposed by the HAManagedItem in question
groupIdentifier - group Identifier optionally provided when creating this HAManagedItem - may be null

sendNotification

public void sendNotification(java.util.Properties props, java.lang.String notificationType)
Proxies a JMX Notification - Visualization listens only to the MBean on the dmgr, so when items are activated/deactivated elsewhere, they will invoke this method, which will in turn send out a JMX notification from the HAManagedItems MBean running in the dmgr.
Parameters:
props - name of the HAManagedItem's HAGroup
notificationType - Type of notification to be sent

Notification Detail

websphere.hamanageditem.activated

An item was activated
Severity:
5  (Warning)

websphere.hamanageditem.deactivated

An item was deactivated - this event is NOT guaranteed
Severity:
5  (Warning)

Copyright IBM Corp. 1996 - 2007