org.onebusaway.federations.annotations
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface FederatedByAnyEntityIdMethod
FederatedServiceMethodInvocationHandler
,
where the agency ids that will be used to dispatch the method can potentially
be pulled from multiple different argument properties. Agency ids can be
pulled from entity ids of the form "agencyId_entityId"
, as identified
by properties()
or from agency ids directly, as identified by
agencyIdProperties()
. Example:
public class QueryBean { public String getTripId(); public String getAgencyId(); }
FederatedServiceMethodInvocationHandlerFactory
,
FederatedByEntityIdsMethodInvocationHandlerImpl
Modifier and Type | Optional Element and Description |
---|---|
String[] |
agencyIdProperties |
int |
argument |
String[] |
properties |
Copyright © 2014 OneBusAway. All Rights Reserved.