com.sun.jdmk
Interface Proxy

All Known Implementing Classes:
GenericProxy

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

public interface Proxy

Interface common to all proxy objects manipulated by a remote or local MBean manager. It must be implemented by both proxy MBeans generated by ProxyGen (from standard MBeans) and by GenericProxy objects.


Method Summary
 ObjectInstance getMBeanObjectInstance()
          Deprecated. Returns an ObjectInstance object that contains the object name (ObjectName object) and the class name of the remote MBean that this proxy MBean represents.
 ProxyHandler getServer()
          Deprecated. Returns the server to which this proxy is bound.
 void setServer(ProxyHandler server)
          Deprecated. Sets the server to which this proxy is bound.
 

Method Detail

getMBeanObjectInstance

public ObjectInstance getMBeanObjectInstance()
Deprecated. 
Returns an ObjectInstance object that contains the object name (ObjectName object) and the class name of the remote MBean that this proxy MBean represents.


getServer

public ProxyHandler getServer()
Deprecated. 
Returns the server to which this proxy is bound. It returns null if this proxy is not bound to any server (local or remote).


setServer

public void setServer(ProxyHandler server)
Deprecated. 
Sets the server to which this proxy is bound. It is allowed to set server null, that means no sever is bound to the Proxy.


FCS Release
jdmk-5_1-b34.2 2005.11.29_16:24:00_MET

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