|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
ServerAccessService works like a ServiceProvider that
provides Services of the business logic.
Unfortunately the Service interface cannot be used here to
prevent a dependency of the server (or server-interface) part to the
quasar client libraries.
The ServerAccessService is itself a Service,
because it must be locatable by client dialogs.
| 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. |
| Method Detail |
public boolean hasService(java.lang.Class service)
service - the interface that defines the service
public java.lang.Object getService(java.lang.Class service)
service - the interface that defines the service
java.lang.IllegalArgumentException - if the service is unknownpublic BooleanState getServiceCallingBooleanState()
BooleanState, that is true as long as a
service - previously returned by getService(Class) - is beeing
called.
BooleanState, that is true, while any
server-side-service is called.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||