com.sun.jdmk.comm
Interface Mapper

All Known Implementing Classes:
DefaultMapper

Deprecated. MBean proxies should be generated using MBeanServerInvocationHandler.newProxyInstance. The interface Mapper may be removed in a future version of Java DMK.

public interface Mapper

This interface should be used for mapping object instance into proxy class name name. Given an ObjectInstance the mapper service should be able to give the name of the Java class to use for representing the object as a ProxyMBean.


Method Summary
 java.lang.String getClassForProxyMBean(javax.management.ObjectInstance instance)
          Deprecated. Gets name of a Java class to use for representing a proxyMBean.
 

Method Detail

getClassForProxyMBean

java.lang.String getClassForProxyMBean(javax.management.ObjectInstance instance)
                                       throws ProxyMBeanInstantiationException
Deprecated. 
Gets name of a Java class to use for representing a proxyMBean.

Parameters:
instance - The object instance of the object for which the implementing name is requested.
Returns:
The name of the Java class to use for representing the proxyMBean.
Throws:
ProxyMBeanInstantiationException - An error occurs.

Open Source build 01-ea
opendmk-1.0-b01-ea 2010.09.25_15:22:04_BST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.