org.onebusaway.federations.annotations
Annotation Type FederatedByBoundsMethod


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface 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.

Author:
bdferris
See Also:
FederatedServiceMethodInvocationHandlerFactory, FederatedByCoordinateBoundsMethodInvocationHandlerImpl

Optional Element Summary
 int lat1Argument
           
 int lat2Argument
           
 int lon1Argument
           
 int lon2Argument
           
 

lat1Argument

public abstract int lat1Argument
Default:
0

lon1Argument

public abstract int lon1Argument
Default:
1

lat2Argument

public abstract int lat2Argument
Default:
2

lon2Argument

public abstract int lon2Argument
Default:
3


Copyright © 2012 OneBusAway. All Rights Reserved.