org.onebusaway.federations.annotations
Interface FederatedServiceMethodInvocationHandler


public interface FederatedServiceMethodInvocationHandler

Defines a FederatedService method invocation handler. The handler is responsible for examining the arguments of the method invocation to determine an appropriate FederatedService from the passed FederatedServiceCollection for handling the method. The FederatedServiceMethodInvocationHandlerFactory can be used to examine a Method signature and create an appropriate FederatedServiceMethodInvocationHandler based on method annotations.

Author:
bdferris
See Also:
FederatedServiceMethodInvocationHandlerFactory, FederatedServiceFactoryBean

Method Summary
 Object invoke(FederatedServiceCollection collection, Method method, Object[] args)
           
 

Method Detail

invoke

Object invoke(FederatedServiceCollection collection,
              Method method,
              Object[] args)
              throws ServiceException,
                     IllegalArgumentException,
                     IllegalAccessException,
                     InvocationTargetException
Throws:
ServiceException
IllegalArgumentException
IllegalAccessException
InvocationTargetException


Copyright © 2012 OneBusAway. All Rights Reserved.