org.araneaframework.core
Interface ActionListener

All Superinterfaces:
Serializable
All Known Implementing Classes:
ProxyActionListener, StandardActionListener

public interface ActionListener
extends Serializable

An ActionListener for a service. If a service needs a specific action routed to them, they will add an ActionListener.


Method Summary
 void processAction(Object actionId, InputData input, OutputData output)
          Action processing method.
 

Method Detail

processAction

public void processAction(Object actionId,
                          InputData input,
                          OutputData output)
                   throws Exception
Action processing method. Implementation should be able to handle different actionIds.

Parameters:
actionId - The ID of the incoming action.
input - The request data.
output - The response data.
Throws:
Exception - Any runtime exception that might occur.