|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jdmk.comm.RmiConnectorAddress
javax.management.remote.rmi
and JdmkLegacyConnector
.
public class RmiConnectorAddress
Defines the RMI connector address. This object is used by the connector client to check that the address used as the argument of its connect method is of the appropriate type.
The default rmi registry hostname is the local hostname.
The default rmi registry port is specified by the constant
ServiceName.RMI_CONNECTOR_PORT
.
The default rmi service name (the RmiConnectorServer
's service name) is specified by
the constant ServiceName.RMI_CONNECTOR_SERVER
.
Constructor Summary | |
---|---|
RmiConnectorAddress()
Deprecated. RmiConnectorAddress constructor. |
|
RmiConnectorAddress(String host,
int port,
String serviceName)
Deprecated. RmiConnectorAddress constructor. |
Method Summary | |
---|---|
String |
getConnectorType()
Deprecated. Returns the type of connector. |
String |
getHost()
Deprecated. Returns the RMI Connector Server hostname. |
String |
getName()
Deprecated. Returns the RMI Connector Server service name. |
int |
getPort()
Deprecated. Returns the RMI Connector Server port number. |
void |
setHost(String host)
Deprecated. Sets the value of the RMI Connector Server host property. |
void |
setName(String serviceName)
Deprecated. Sets the value of the RMI Connector Server service name property. |
void |
setPort(int port)
Deprecated. Sets the value of the RMI Connector Server port property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RmiConnectorAddress()
The default host is the local hostname.
The default port is defined by com.sun.jdmk.ServiceName.RMI_CONNECTOR_PORT.
The default service name is defined by com.sun.jdmk.ServiceName.RMI_CONNECTOR_SERVER.
public RmiConnectorAddress(String host, int port, String serviceName)
host
- The host specifies the hostname where the rmi registry is running.port
- The port specifies the port number where the rmi registry is running.serviceName
- The service name specifies the name the RMI connector server used to
register in the rmi registry.Method Detail |
---|
public String getConnectorType()
getConnectorType
in interface ConnectorAddress
public String getHost()
public void setHost(String host)
host
- the new value of the server host property.public int getPort()
public void setPort(int port)
port
- the new value of the server port property.public String getName()
public void setName(String serviceName)
serviceName
- the new value of the server service name property.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |