|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.lancs.relate.gateways.services.architecture.ServiceProvider
uk.ac.lancs.relate.gateways.services.architecture.communication.rmi.RMIServiceProvider
public abstract class RMIServiceProvider
This abstract calss is used for Providers willing to use sockets RMI communication with requesters. Note: a Provider is not required to use any particular communication API, this class is models one type of communication but it is the programmer's responsibility to pick up the right communication model for his service. As long as the concrete service provider extends the ServiceProvider class the RelateGateways system will handle and export it correctly.
| Constructor Summary | |
|---|---|
RMIServiceProvider(RMIService service)
Creates a new instance of RMIServiceProvider |
|
| Method Summary | |
|---|---|
void |
shutdown()
This method shuts down the provider unbinding the provider stub from the registry. |
void |
startup()
This method starts up the provider. |
| Methods inherited from class uk.ac.lancs.relate.gateways.services.architecture.ServiceProvider |
|---|
confirmShutdown, confirmStartup, getService, isRunning, provide, setService, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface uk.ac.lancs.relate.gateways.services.architecture.communication.rmi.RMIServiceProviderStub |
|---|
provide |
| Constructor Detail |
|---|
public RMIServiceProvider(RMIService service)
RMIServiceProvider
| Method Detail |
|---|
public void startup()
startup in interface ProvidersAndRequestersCommonInterfacepublic void shutdown()
shutdown in interface ProvidersAndRequestersCommonInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||