Package org.onebusaway.federations.annotations

Interface Summary
FederatedServiceMethodInvocationHandler Defines a FederatedService method invocation handler.
 

Class Summary
AgencyIdSupport Support parsing out the agencyId from an "agencyId_entityId" string representation.
FederatedServiceMethodInvocationHandlerFactory This factory can be used to examine a Method signature and create an appropriate FederatedServiceMethodInvocationHandler based on method annotations.
 

Enum Summary
EMethodAggregationType Controls the type of return value aggregation used in a FederatedServiceMethodInvocationHandler as annotated with FederatedByAggregateMethod annotation.
 

Annotation Types Summary
FederatedByAgencyIdMethod Directs the creation of a FederatedServiceMethodInvocationHandler, where a single String argument in the method invocation is used as an agency id in resolving an appropriate FederatedService handler.
FederatedByAggregateMethod Directs the creation of a FederatedServiceMethodInvocationHandler, where a method returns either a List or a Map and the federated method return value is generated by calling each FederatedService in turn an aggregating the results with the appropriate collection.
FederatedByAnyEntityIdMethod Directs the creation of a FederatedServiceMethodInvocationHandler, where a Collection of String ids of the form "agencyId_entityId" are resolved to a set of agency ids and an appropriate FederatedService handler for those agencies.
FederatedByBoundsMethod Directs the creation of a FederatedServiceMethodInvocationHandler, where four double arguments define two lat-lon points describing the bounds of a geographic area, resolving an appropriate FederatedService handler for that area.
FederatedByCoordinateBoundsMethod Directs the creation of a FederatedServiceMethodInvocationHandler, where a single CoordinateBounds object describing a geographic area is resolved to an appropriate FederatedService handler for that area.
FederatedByCoordinatePointsMethod Directs the creation of a FederatedServiceMethodInvocationHandler, where a series of CoordinatePoint objects describing a geographic area are resolved to an appropriate FederatedService handler for that area.
FederatedByEntityIdMethod Directs the creation of a FederatedServiceMethodInvocationHandler, where a single String id of the form "agencyId_entityId" is resolved to an agency id and an appropriate FederatedService handler for that agency.
FederatedByEntityIdsMethod Directs the creation of a FederatedServiceMethodInvocationHandler, where a Collection of String ids of the form "agencyId_entityId" are resolved to a set of agency ids and an appropriate FederatedService handler for those agencies.
FederatedByLocationMethod Directs the creation of a FederatedServiceMethodInvocationHandler, where two double arguments define a lat-lon point, resolving an appropriate FederatedService handler for that location.
 



Copyright © 2011 OneBusAway. All Rights Reserved.