com.sun.jdmk.comm
Interface RmiConnectorServerMBean

All Superinterfaces:
CommunicatorServerMBean
All Known Implementing Classes:
RmiConnectorServer

Deprecated. The JMX Remote API should be used in preference to the legacy Java DMK connector classes. The legacy RMI connector, including this interface, may be removed in a future version of Java DMK. See javax.management.remote.rmi and JdmkLegacyConnector.

public interface RmiConnectorServerMBean
extends CommunicatorServerMBean

Management interface of the RmiConnectorServer class.


Method Summary
 String getServiceName()
          Deprecated. Returns the service name of this RMI object.
 void setServiceName(String serviceName)
          Deprecated. Set the service name of this RMI object.
 
Methods inherited from interface com.sun.jdmk.comm.CommunicatorServerMBean
getHost, getPort, getProtocol, getState, getStateString, isActive, setPort, start, stop, waitState
 

Method Detail

getServiceName

String getServiceName()
Deprecated. 
Returns the service name of this RMI object.

Returns:
The service name of this RMI connector.

setServiceName

void setServiceName(String serviceName)
                    throws IllegalStateException
Deprecated. 
Set the service name of this RMI object.

Parameters:
serviceName - The service name of this RMI connector.
Throws:
IllegalStateException - This method has been invoked while the RMI connector was ONLINE or STARTING.

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.