|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RMIExportConfiguration
Interface that describes a configuration for exporting a remote object to the RMI system.
Method Summary | |
---|---|
int |
getPortForClass(int requestedPort,
java.lang.Class javaClass)
Gets the port which should be used to export the remote object. |
java.rmi.server.RMIClientSocketFactory |
getRMIClientSocketFactory()
Gets the RMI client socket factory. |
java.rmi.server.RMIClientSocketFactory |
getRMIClientSocketFactoryForClass(java.lang.Class javaClass)
Gets the RMI client socket factory for this factory's based upon the remote object's class. |
java.rmi.server.RMIServerSocketFactory |
getRMIServerSocketFactory()
Gets the RMI server socket factory. |
java.rmi.server.RMIServerSocketFactory |
getRMIServerSocketFactoryForClass(java.lang.Class javaClass)
Gets the RMI server socket factory based upon the remote object's class. |
Method Detail |
---|
int getPortForClass(int requestedPort, java.lang.Class javaClass)
requestedPort
- The port requested by the caller. An anonymous port may be requested by
specifying a value of 0
.javaClass
- The Java class for which an export port is desired or null
if a
default non-SSL server port is desired.
java.rmi.server.RMIClientSocketFactory getRMIClientSocketFactory()
null
if the default client
socket factory should be used. This method will always return the same object.getRMIClientSocketFactoryForClass(Class)
java.rmi.server.RMIClientSocketFactory getRMIClientSocketFactoryForClass(java.lang.Class javaClass) throws java.lang.IllegalArgumentException
javaClass
- The Java class which will be used to determine the appropriate RMI client
socket factory.
null
if the default factory should be used.
java.lang.IllegalArgumentException
- if a null
Java class name is specified.getRMIClientSocketFactory()
java.rmi.server.RMIServerSocketFactory getRMIServerSocketFactory()
null
if the default factory
should be used.getRMIServerSocketFactoryForClass(Class)
java.rmi.server.RMIServerSocketFactory getRMIServerSocketFactoryForClass(java.lang.Class javaClass) throws java.lang.IllegalArgumentException
javaClass
- The Java class for which an RMI server socket factory is desired.
null
if the default factory
should be used.
java.lang.IllegalArgumentException
- if a null
Java class name is specified.getRMIServerSocketFactory()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |