org.eclipse.emf.emfstore.server.observer
Interface ESServerCallObserver


public interface ESServerCallObserver

Since:
1.0.1
Author:
mkoegel

Method Summary
 void notifyPostServerCallExecution(Method method, Object[] args, Object result)
          Notify the observer about a server call execution AFTER it occurred.
 void notifyPreServerCallExecution(Method method, Object[] args)
          Notify the observer about a server call execution BEFORE it actually occurred.
 void notifyServerCallExecutionESExceptionFailure(Method method, Object[] args, ESException exception)
          Notify the observer about a server call execution failure with a EMFStore specific exception.
 void notifyServerCallExecutionRuntimeExceptionFailure(Method method, Object[] args, RuntimeException runtimeException)
          Notify the observer about a server call execution failure with a runtime exception.
 

Method Detail

notifyPreServerCallExecution

void notifyPreServerCallExecution(Method method,
                                  Object[] args)
Notify the observer about a server call execution BEFORE it actually occurred.

Parameters:
method - the called server method in EMFStore
args - the method arguments.

notifyServerCallExecutionRuntimeExceptionFailure

void notifyServerCallExecutionRuntimeExceptionFailure(Method method,
                                                      Object[] args,
                                                      RuntimeException runtimeException)
Notify the observer about a server call execution failure with a runtime exception.

Parameters:
method - the called server method in EMFStore
args - the method arguments.
runtimeException - the runtime exception that occurred

notifyServerCallExecutionESExceptionFailure

void notifyServerCallExecutionESExceptionFailure(Method method,
                                                 Object[] args,
                                                 ESException exception)
Notify the observer about a server call execution failure with a EMFStore specific exception.

Parameters:
method - the called server method in EMFStore
args - the method arguments.
exception - the EMFStore specific exception that occurred

notifyPostServerCallExecution

void notifyPostServerCallExecution(Method method,
                                   Object[] args,
                                   Object result)
Notify the observer about a server call execution AFTER it occurred.

Parameters:
method - the called server method in EMFStore
args - the method arguments.
result - the result


Copyright © 2015. All Rights Reserved.