|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by all JAIN OAM Managed Beans (MBeans).
NotificationBroadcaster Interface
This interface specifies three methods which MBeans acting as notification sources
must implement:
getNotificationInfo gives a potential consumer the description of all
notifications this source may emit. This method returns an array of
MBeanNotificationInfo objects, each of which describes a notification.
addNotificationListener registers a consumer’s interest in notifications sent
by this MBean. This method takes a reference to a NotificationListener
object, a reference to a NotificationFilter object, and a hand-back object.
The same listener object may be registered more than once, each time with a
different hand-back object. This means that the handleNotification method of
this listener will be invoked several times, with different hand-back objects.
The MBean has to maintain a table of listener, filter and hand-back triplets.
When the MBean emits a notification, it invokes the handleNotification
method of all the registered NotificationListener objects, with their
respective hand-back object.
If the consumer has specified a NotificationFilter when registering as a
NotificationListener object, the MBean will invoke the filter’s
isNotificationEnabled method first. Only if the filter returns a positive
(true) response will the source then call the notification handler.
removeNotificationListener allows a consumer to unregister itself from a
notification source. This method takes a reference to a NotificationListener
object, as well as a hand-back object.
If the hand-back object is provided, only the entry corresponding to this listener
and hand-back pair will be removed. The same listener object may still be
registered with other hand-back objects. Otherwise, if the hand-back is not
provided, all entries corresponding to the listener will be removed.
Inheritance hierarchy for JAIN OAM Notification
Field Summary | |
static java.lang.String |
OBJECT_TYPE_CONCERNED_AREA
The Object Type for a ConcernedAreaMBean, getObjectType() for this MBean returns "OBJECT_TYPE_CONCERNED_AREA". |
static java.lang.String |
OBJECT_TYPE_GLOBAL_TITLE_ENTRY
The Object Type for a GlobalTitleEntryMBean, getObjectType() for this MBean returns "OBJECT_TYPE_GLOBAL_TITLE_ENTRY". |
static java.lang.String |
OBJECT_TYPE_LINK
The Object Type for a LinkMBean, getObjectType() for this MBean returns "OBJECT_TYPE_LINK". |
static java.lang.String |
OBJECT_TYPE_LINKSET
The Object Type for a LinksetMBean, getObjectType() for this MBean returns "OBJECT_TYPE_LINKSET". |
static java.lang.String |
OBJECT_TYPE_MTP2_LAYER_MANAGER
The Object Type for a Mtp2LayerManager, getObjectType() for this MBean returns "OBJECT_TYPE_MTP2_LAYER_MANAGER". |
static java.lang.String |
OBJECT_TYPE_MTP2_SAP
The Object Type for a Mtp2SapMBean, getObjectType() for this MBean returns "OBJECT_TYPE_MTP2_SAP". |
static java.lang.String |
OBJECT_TYPE_MTP2_TIMER_PROFILE
The Object Type for a Mtp2TimerProfileMBean, getObjectType() for this MBean returns "OBJECT_TYPE_MTP2_TIMER_PROFILE". |
static java.lang.String |
OBJECT_TYPE_MTP3_LAYER_MANAGER
The Object Type for a Mtp3LayerManager, getObjectType() for this MBean returns "OBJECT_TYPE_MTP3_LAYER_MANAGER". |
static java.lang.String |
OBJECT_TYPE_MTP3_SAP
The Object Type for a Mtp3SapMBean, getObjectType() for this MBean returns "OBJECT_TYPE_MTP3_SAP". |
static java.lang.String |
OBJECT_TYPE_MTP3_TIMER_PROFILE
The Object Type for a Mtp3TimerProfileMBean, getObjectType() for this MBean returns "OBJECT_TYPE_MTP3_TIMER_PROFILE". |
static java.lang.String |
OBJECT_TYPE_OAM_TIMER_VAL
The Object Type for a OamTimerValMBean, getObjectType() for this MBean returns "OBJECT_TYPE_OAM_TIMER_VAL". |
static java.lang.String |
OBJECT_TYPE_OWN_SIGNALLING_POINT
The Object Type for an OwnSignallingPointMBean, getObjectType() for this MBean returns "OBJECT_TYPE_OWN_SIGNALLING_POINT". |
static java.lang.String |
OBJECT_TYPE_ROUTE
The Object Type for a RouteMBean, getObjectType() for this MBean returns "OBJECT_TYPE_ROUTE". |
static java.lang.String |
OBJECT_TYPE_ROUTESET
The Object Type for a RoutesetMBean, getObjectType() for this MBean returns "OBJECT_TYPE_ROUTESET". |
static java.lang.String |
OBJECT_TYPE_SCCP_ENTITY_SET
The Object Type for a SccpEntitySetMBean, getObjectType() for this MBean returns "OBJECT_TYPE_SCCP_ENTITY_SET". |
static java.lang.String |
OBJECT_TYPE_SCCP_LAYER_MANAGER
The Object Type for a SccpLayerManager, getObjectType() for this MBean returns "OBJECT_TYPE_SCCP_LAYER_MANAGER". |
static java.lang.String |
OBJECT_TYPE_SCCP_ROUTING_CONTROL
The Object Type for a SccpRoutingControlMBean, getObjectType() for this MBean returns "OBJECT_TYPE_SCCP_ROUTING_CONTROL". |
static java.lang.String |
OBJECT_TYPE_SCCP_SAP
The Object Type for a SccpSapMBean, getObjectType() for this MBean returns "OBJECT_TYPE_SCCP_SAP". |
static java.lang.String |
OBJECT_TYPE_SCCP_TIMER_PROFILE
The Object Type for a SccpTimerProfileMBean, getObjectType() for this MBean returns "OBJECT_TYPE_SCCP_TIMER_PROFILE". |
static java.lang.String |
OBJECT_TYPE_SCREENING_TABLE
The Object Type for a ScreeningTableMBean, getObjectType() for this MBean returns "OBJECT_TYPE_SCREENING_TABLE". |
static java.lang.String |
OBJECT_TYPE_TCAP_LAYER_MANAGER
The Object Type for a TcapLayerManager, getObjectType() for this MBean returns "OBJECT_TYPE_TCAP_LAYER_MANAGER". |
static java.lang.String |
OBJECT_TYPE_TCAP_NODE
The Object Type for a TcapNodeMBean, getObjectType() for this MBean returns "OBJECT_TYPE_TCAP_NODE". |
Fields inherited from class java.io.Serializable |
serialVersionUID |
Method Summary | |
java.lang.String |
getName()
Gets the name of this OamManagedBean. |
java.lang.String |
getObjectId()
Returns an object id that is unique within all objects of the same class. |
ObjectName |
getObjectName()
Gets the ObjectName of this OamManagedObjectBean. |
java.lang.String |
getObjectType()
Returns the Object Type of this Managed Bean (MBean) as a String. |
java.lang.Object |
getProprietaryInformation()
Returns an Object that may contain proprietary methods for this Managed Bean (MBean). |
OamStatisticNotification |
getStatistic(java.lang.Integer statisticType)
Returns an OamStatisticNotification of the specified statistic type containing the value of the statistic. |
void |
setName(java.lang.String name)
Sets the name of this OamManagedBean. |
void |
startPollingStatistic(java.lang.Integer statisticType,
java.lang.Integer interval)
Initiates the polling of statistic of the specified statistic type on this OamManagedObjectMBean. |
void |
stopPollingStatistic(java.lang.Integer statisticType)
Stops the polling of statistic of the specified statistic type. |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preDeregister,
preRegister |
Field Detail |
public static final java.lang.String OBJECT_TYPE_MTP2_SAP
public static final java.lang.String OBJECT_TYPE_MTP2_TIMER_PROFILE
public static final java.lang.String OBJECT_TYPE_LINK
public static final java.lang.String OBJECT_TYPE_LINKSET
public static final java.lang.String OBJECT_TYPE_ROUTE
public static final java.lang.String OBJECT_TYPE_ROUTESET
public static final java.lang.String OBJECT_TYPE_MTP3_SAP
public static final java.lang.String OBJECT_TYPE_OWN_SIGNALLING_POINT
public static final java.lang.String OBJECT_TYPE_SCREENING_TABLE
public static final java.lang.String OBJECT_TYPE_MTP3_TIMER_PROFILE
public static final java.lang.String OBJECT_TYPE_CONCERNED_AREA
public static final java.lang.String OBJECT_TYPE_GLOBAL_TITLE_ENTRY
public static final java.lang.String OBJECT_TYPE_SCCP_ENTITY_SET
public static final java.lang.String OBJECT_TYPE_SCCP_ROUTING_CONTROL
public static final java.lang.String OBJECT_TYPE_SCCP_SAP
public static final java.lang.String OBJECT_TYPE_SCCP_TIMER_PROFILE
public static final java.lang.String OBJECT_TYPE_TCAP_NODE
public static final java.lang.String OBJECT_TYPE_OAM_TIMER_VAL
public static final java.lang.String OBJECT_TYPE_MTP2_LAYER_MANAGER
public static final java.lang.String OBJECT_TYPE_MTP3_LAYER_MANAGER
public static final java.lang.String OBJECT_TYPE_SCCP_LAYER_MANAGER
public static final java.lang.String OBJECT_TYPE_TCAP_LAYER_MANAGER
Method Detail |
public OamStatisticNotification getStatistic(java.lang.Integer statisticType) throws StatisticNotSupportedException, IllegalOperationException
statisticType
- the type of the statistic to be returned
[public void startPollingStatistic(java.lang.Integer statisticType, java.lang.Integer interval) throws StatisticNotSupportedException, IllegalOperationException
Depending on the type of this OamManagedObjectMBean, the type of the OamStatisticNotification that is fired will be one of:
statisticType
- the type of the statistic to be polled
[interval
- the polling interval in millisecondspublic void stopPollingStatistic(java.lang.Integer statisticType) throws IllegalOperationException
If
the specified statistic is currently being polled by the NotificationListener
that invoked this method
then
this polling will stop and the specified
statistic shall no longer be sent to the registered NotificationListener.
If
the specified statistic is no longer being polled by the NotificationListener
that invoked this method
then
then invoking this operation will have
no effect.
statisticType
- the type of the statistic for which polling is to stop.public void setName(java.lang.String name) throws java.lang.NullPointerException
name
- the name of this Managed Bean (MBean)public java.lang.String getName()
public ObjectName getObjectName()
[domainName]:property=value[,property=value]*For all JAIN OAM MBeans, the domain name should be the package name of the implemenation class from which the object was instantiated.
This property takes the form: type=OBJECT_TYPE_SCCP_SAP
This property takes the form: id=uniqueId where 'uniqueId' is a String representation of an integer that is unique to all objects of the same class.
"com.aepona.jain.protocol.ss7.oam.sccp:type=OBJECT_TYPE_SCCP_SAP,id=1234"where 1234 could be any uniquely generated id by the SccpLayerManagerMBean Implemenation.
public java.lang.String getObjectId()
public java.lang.Object getProprietaryInformation()
public java.lang.String getObjectType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |