|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.server.impl.ServerProxy
An implementation of ServerAccessService, that delegates the
concrete implementation of server access to so-called
ServerProxyPlugins. The plugins are called
in the registered order; at least the last registered plugin should
make the server-communication work and should not call the
subsequent plugin (in opposide to all others).
| Constructor Summary | |
ServerProxy(ServerProxyPlugin[] serverProxyPlugins)
Creates a new ServerProxy. |
|
| Method Summary | |
java.lang.Object |
getService(java.lang.Class service)
Returns the service implementation registered with the service manager. |
BooleanState |
getServiceCallingBooleanState()
Returns a BooleanState, that is true as long as a
service - previously returned by getService(Class) - is beeing
called. |
boolean |
hasService(java.lang.Class service)
Tests, whether a service is registered with the service manager. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServerProxy(ServerProxyPlugin[] serverProxyPlugins)
ServerProxy.
| Method Detail |
public java.lang.Object getService(java.lang.Class service)
ServerAccessService
getService in interface ServerAccessServiceservice - the interface that defines the service
ServerAccessService.getService(java.lang.Class)public boolean hasService(java.lang.Class service)
ServerAccessService
hasService in interface ServerAccessServiceservice - the interface that defines the service
ServerAccessService.hasService(java.lang.Class)public BooleanState getServiceCallingBooleanState()
ServerAccessServiceBooleanState, that is true as long as a
service - previously returned by ServerAccessService.getService(Class) - is beeing
called.
getServiceCallingBooleanState in interface ServerAccessServiceBooleanState, that is true, while any
server-side-service is called.ServerAccessService.getServiceCallingBooleanState()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||