|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.kosi.rmi.KosiRMI
This class exports an RMI-object using the custom reference classes in order to identify the client
| Constructor Summary | |
KosiRMI()
Default Constructor |
|
| Method Summary | |
static java.rmi.server.RemoteStub |
exportObject(java.rmi.Remote obj)
Export the object on an arbitrary port. |
static java.rmi.Remote |
exportObject(java.rmi.Remote obj,
int port)
Export the object on an given port. |
static void |
init()
Initalize KosiRMI for client operation. |
static void |
init(boolean server)
Create security provider. |
static boolean |
isServer()
Return wether the currently running application is a server. |
static boolean |
unexportObject(java.rmi.Remote obj,
boolean force)
Unexport object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public KosiRMI()
| Method Detail |
public static boolean isServer()
public static void init(boolean server)
server - True, if the current application is a server.public static void init()
public static java.rmi.server.RemoteStub exportObject(java.rmi.Remote obj)
throws java.rmi.RemoteException
obj - the Remote implementationjava.rmi.RemoteException - thrown if the export fails
public static java.rmi.Remote exportObject(java.rmi.Remote obj,
int port)
throws java.rmi.RemoteException
obj - the Remote implementationport - the port to export to.java.rmi.RemoteException - thrown if the export fails
public static boolean unexportObject(java.rmi.Remote obj,
boolean force)
throws java.rmi.NoSuchObjectException
obj - the remote object to unexportforce - force unexportjava.rmi.NoSuchObjectException - thrown if the object is ont exported
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||