|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the methods common to all Protocol Layer Managers. It defines the methods to:
When creating a MBean an entry must be added to the LookupTable of that MBean's ObjectName and reference, and when a MBean is being deleted the corresponding entry in the LookupTable must be removed. This is to enable the application to operate successfully without a JMX agent.
This illustrates how JAIN OAM MBeans are instantiated
Field Summary | |
static int |
PROTOCOL_VARIANT_ANSI_1992
A Protocol Version constant: ANSI Protocol |
static int |
PROTOCOL_VARIANT_ANSI_1996
|
static int |
PROTOCOL_VARIANT_ITU_1993
A Protocol Version constant: ITU Protocol |
static int |
PROTOCOL_VARIANT_ITU_1996
|
static int |
PROTOCOL_VARIANT_ITU_1997
|
static int |
PROTOCOL_VARIANT_OTHER
A Protocol Version constant: a protocol other then ITU or ANSI |
Method Summary | |
void |
addNotificationListenerToAllMBeans(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
Registers the specified NotificationListener with all of the OamManagedObjectMBeans of this Layer Manager. |
void |
commit()
Commit all operations on any Managed MBeans in this layer. |
ObjectName[] |
getAllOamManagedObjects()
Returns an array containing the ObjectNames all of the OamManagedObjectMBeans managed by this Layer Manager. |
OamLookupTable |
getLookupTable()
Returns a reference to the OamLookupTable. |
java.lang.Integer |
getProtocolVariantAndYear()
Returns the Protocol variant and year. |
java.lang.String |
getStackName()
Returns the Stack Name. |
java.lang.String |
getVendorDetails()
Returns a String that identifies the Vendor that supplied this implementation. |
void |
readCurrentConfiguration()
Gets the current configuration of the SS7 Layer being managed. |
void |
removeNotificationListenerFromAllMBeans(NotificationListener listener)
Removes the specified NotificationListener from listening to all of the OamManagedObjectMBeans of this Layer Manager. |
void |
rollBack()
Resets the MBeans back to the state they were in after the last call to the commit() or readCurrentConfiguration(). |
void |
setProtocolVariantAndYear(java.lang.Integer variantAndYear)
Sets the protocol variant and year of the SS7 Protocol Layer represented by this OamLayerManager. |
void |
setStackName(java.lang.String stackName)
Sets the Name of this Stack. |
Field Detail |
public static final int PROTOCOL_VARIANT_ANSI_1992
public static final int PROTOCOL_VARIANT_ANSI_1996
public static final int PROTOCOL_VARIANT_ITU_1993
public static final int PROTOCOL_VARIANT_ITU_1996
public static final int PROTOCOL_VARIANT_ITU_1997
public static final int PROTOCOL_VARIANT_OTHER
Method Detail |
public void addNotificationListenerToAllMBeans(NotificationListener listener, NotificationFilter filter, java.lang.Object handback) throws java.lang.NullPointerException
listener
- the NotificationListener to be registered with
all of the MBeans of this Layer Manager. ie - all OamManagedObjects returned by
getAllOamManagedObjects()filter
- The filter object. If not specified, no filtering
will be performed before handling notifications.handback
- The context to be sent to the listener when a notification
is emitted.public void removeNotificationListenerFromAllMBeans(NotificationListener listener) throws java.lang.NullPointerException
listener
- the NotificationListener to be removedpublic ObjectName[] getAllOamManagedObjects()
public void rollBack()
public void commit() throws CommitException
Successfully invoking the 'commit()' command shall have three separate consequences:
xxxx
of an MBean is modified using
setXxxx()
, the new attribute value will only be returned from
getXxxx()
and the changes will only be propagated to the underlying
proprietary management system when this commit() method has been invoked.
public void readCurrentConfiguration() throws ReadConfigurationException
public java.lang.String getVendorDetails()
public void setProtocolVariantAndYear(java.lang.Integer variantAndYear) throws java.lang.UnsupportedOperationException, java.lang.IllegalArgumentException
variantAndYear
- the Protocol Variant and Year that this
Protocol Layer shall be configured to.public java.lang.Integer getProtocolVariantAndYear()
public void setStackName(java.lang.String stackName)
public java.lang.String getStackName()
public OamLookupTable getLookupTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |