com.sdm.quasar.client.core.server.impl
Interface ServerProxyPlugin.ServerProxyPluginCallback

Enclosing interface:
ServerProxyPlugin

public static interface ServerProxyPlugin.ServerProxyPluginCallback

Callback interface used within processServerServiceCall(Object[]). The method must be called in order to delegate processing to the next subsequent plugin.


Method Summary
 boolean hasServerService(java.lang.Class service)
          Calls the ServerProxyPlugin#hasServerService(Class)-method of the next subsequent ServerProxyPlugins.
 java.lang.Object processServerServiceCall(java.lang.Object[] args)
          Continues processing of the current server call by calling the next subsequent ServerProxyPlugin registered.
 

Method Detail

hasServerService

public boolean hasServerService(java.lang.Class service)
Calls the ServerProxyPlugin#hasServerService(Class)-method of the next subsequent ServerProxyPlugins.

Parameters:
service - the interface that defines the service
Returns:
true, iff an implementation is registered for the given service by a subsequent ServerProxyPlugin.

processServerServiceCall

public java.lang.Object processServerServiceCall(java.lang.Object[] args)
                                          throws java.lang.Throwable
Continues processing of the current server call by calling the next subsequent ServerProxyPlugin registered.

Parameters:
args - the arguments for the method call
Returns:
the return value of the called subsequent plugin
Throws:
java.lang.Throwable - if an exception occured while calling.