com.ibm.retail.si.mgmt.masteragent
Interface ProxyManagerMBean


public interface ProxyManagerMBean

The purpose of this MBean is to create, destroy, and manage the Master Agent MBean proxies. Proxies for a remote agent upon the receipt of a AgentDiscoveredNotification and are torn down upon receipt of a AgentLostNotification.

When a remote agent is proxied, this MBean registers as a listener to the MBeanServerDelegate on the remote MBeanServer. Individual MBean proxies are created and destroyed upon receipt of a MBeanServerNotification

The ObjectName of this MBean includes the following attributes, in addition to the SIF attribute of DeviceID:

This management interface defines no attributes.

The following operations are included in this management interface. These are described in more detail in the corresponding method documentation.

This MBean emits a Notification with type ProxyManager.MA_PRXY_UPDATED_TYPE when a new proxy is added or removed in response to an MBeanServerNotification. Notifications of type ProxyManager.MA_PRXY_SVR_ADDED_NOT_TYPE and ProxyManager.MA_PRXY_SRVR_REMOVED_NOT_TYPE are emitted after processing a newly discovered or lost agent.

Author:
Kriselie D Rivera, Chris D Arrington

Field Summary
static java.lang.String OBJECT_NAME
           
 
Method Summary
 void initialize()
          Initializes the ProxyManager
 javax.management.ObjectName obtainProxyObjectName(javax.management.ObjectName remoteName)
          Returns the ObjectName of the local proxy MBean, given the remote proxy's ObjectName
 javax.management.ObjectName obtainRemoteObjectName(javax.management.ObjectName proxyName)
          Returns the ObjectName of the remote proxied MBean, given the local proxy's ObjectName
 void shutdown()
           
 

Field Detail

OBJECT_NAME

public static final java.lang.String OBJECT_NAME
See Also:
Constant Field Values
Method Detail

initialize

public void initialize()
                throws MgmtException
Initializes the ProxyManager

Throws:
MgmtException
See Also:
ProxyManager.initialize()

shutdown

public void shutdown()
See Also:
ProxyManager.shutdown()

obtainRemoteObjectName

public javax.management.ObjectName obtainRemoteObjectName(javax.management.ObjectName proxyName)
Returns the ObjectName of the remote proxied MBean, given the local proxy's ObjectName

Parameters:
proxyName - Local MBean Proxy ObjectName
Returns:
ObjectName of the remote proxied MBean

obtainProxyObjectName

public javax.management.ObjectName obtainProxyObjectName(javax.management.ObjectName remoteName)
Returns the ObjectName of the local proxy MBean, given the remote proxy's ObjectName

Parameters:
remoteName - ObjectName of the remote MBean, as it exists on the remote MBeanServer
Returns:
ObjectName of the local MBean proxy


Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004