Package org.onebusaway.federations.annotations
-
Interface Summary Interface Description FederatedServiceMethodInvocationHandler Defines aFederatedService
method invocation handler. -
Class Summary Class Description 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 appropriateFederatedServiceMethodInvocationHandler
based on method annotations. -
Enum Summary Enum Description EMethodAggregationType Controls the type of return value aggregation used in aFederatedServiceMethodInvocationHandler
as annotated withFederatedByAggregateMethod
annotation. -
Annotation Types Summary Annotation Type Description FederatedByAgencyIdMethod Directs the creation of aFederatedServiceMethodInvocationHandler
, where a single String argument in the method invocation is used as an agency id in resolving an appropriateFederatedService
handler.FederatedByAggregateMethod Directs the creation of aFederatedServiceMethodInvocationHandler
, where a method returns either aList
or aMap
and the federated method return value is generated by calling eachFederatedService
in turn an aggregating the results with the appropriate collection.FederatedByAnyEntityIdMethod Directs the creation of aFederatedServiceMethodInvocationHandler
, where the agency ids that will be used to dispatch the method can potentially be pulled from multiple different argument properties.FederatedByBoundsMethod Directs the creation of aFederatedServiceMethodInvocationHandler
, where four double arguments define two lat-lon points describing the bounds of a geographic area, resolving an appropriateFederatedService
handler for that area.FederatedByCoordinateBoundsMethod Directs the creation of aFederatedServiceMethodInvocationHandler
, where a singleCoordinateBounds
object describing a geographic area is resolved to an appropriateFederatedService
handler for that area.FederatedByCoordinatePointsMethod Directs the creation of aFederatedServiceMethodInvocationHandler
, where a series ofCoordinatePoint
objects describing a geographic area are resolved to an appropriateFederatedService
handler for that area.FederatedByCustomMethod Directs the creation of aFederatedServiceMethodInvocationHandler
where the handler class is specified directly using theFederatedByCustomMethod.handler()
annotation.FederatedByEntityIdMethod Directs the creation of aFederatedServiceMethodInvocationHandler
, where a single String id of the form"agencyId_entityId"
is resolved to an agency id and an appropriateFederatedService
handler for that agency.FederatedByEntityIdsMethod Directs the creation of aFederatedServiceMethodInvocationHandler
, where a Collection of String ids of the form"agencyId_entityId"
are resolved to a set of agency ids and an appropriateFederatedService
handler for those agencies.FederatedByLocationMethod Directs the creation of aFederatedServiceMethodInvocationHandler
, where two double arguments define a lat-lon point, resolving an appropriateFederatedService
handler for that location.