|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.service.TopiaServiceServerAbstract
org.nuiton.topia.service.servers.RMIServer
public class RMIServer
RMIServer.java
| Field Summary | |
|---|---|
protected boolean |
alreadyLaunched
Server already launched |
protected static int |
DEFAULT_PORT
Port de rmiregistry |
protected Registry |
registry
instance de registry |
| Constructor Summary | |
|---|---|
RMIServer()
Constructeur |
|
RMIServer(int port)
Constructeur |
|
| Method Summary | |
|---|---|
void |
addService(Class<? extends TopiaApplicationService> clazz)
Ajoute un service devant etre gere. |
Object |
invoke(Object proxy,
Method method,
Object[] args)
|
void |
launch()
Lance le serveur |
void |
run()
|
| Methods inherited from class org.nuiton.topia.service.TopiaServiceServerAbstract |
|---|
invoke, setTopiaServiceProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int DEFAULT_PORT
protected Registry registry
protected boolean alreadyLaunched
| Constructor Detail |
|---|
public RMIServer()
throws RemoteException
RemoteException - si la creation echoue
public RMIServer(int port)
throws RemoteException
RemoteException - si la creation echoue| Method Detail |
|---|
public void addService(Class<? extends TopiaApplicationService> clazz)
TopiaServiceServer
addService in interface TopiaServiceServerclazz - le nom de l'interface.public void run()
run in interface Runnable
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
invoke in interface InvocationHandlerThrowablepublic void launch()
TopiaServiceServer
launch in interface TopiaServiceServer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||