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
 String getClassForProxyMBean(ObjectInstance instance)
          Deprecated. Gets name of a Java class to use for representing a proxyMBean.
 

Method Detail

getClassForProxyMBean

String getClassForProxyMBean(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 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

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