com.sdm.quasar.client.core.server.impl
Interface ServerProxyPlugin
- All Known Implementing Classes:
- AsynchronousCallServerProxyPlugin, ComponentServerProxyPlugin, ImplementationServerProxyPlugin, LogTimingServerProxyPlugin
- public interface ServerProxyPlugin
A plugin for the ServerProxy.
- Version:
- 1.$Revision$
- Author:
- Thomas Wolf
hasServerService
public boolean hasServerService(java.lang.Class service,
ServerProxyPlugin.ServerProxyPluginCallback serverProxyPluginCallback)
- Tests, whether a service is registered with the service manager.
- Parameters:
service - the interface that defines the service
- Returns:
- true, iff an implementation is registered for the given service.
processServerServiceCall
public java.lang.Object processServerServiceCall(java.lang.Class serverInterface,
java.lang.reflect.Method method,
java.lang.Object[] args,
ServerProxyPlugin.ServerProxyPluginCallback serverProxyPluginCallback)
throws java.lang.Throwable
- Parameters:
serverInterface - method - args - serverProxyPluginCallback - a ServerProxyPlugin.ServerProxyPluginCallback to access the
subsequent ServerProxyPlugins without knowing them
- Returns:
-
- Throws:
java.lang.Throwable