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

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

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

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.


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.