org.onebusaway.federations.annotations
Annotation Type FederatedByAgencyIdMethod


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

Author:
bdferris
See Also:
FederatedServiceMethodInvocationHandlerFactory, FederatedByAgencyIdMethodInvocationHandlerImpl

Optional Element Summary
 int argument
           
 String propertyExpression
           
 

argument

public abstract int argument
Returns:
the index of the method argument containing the agency id
Default:
0

propertyExpression

public abstract String propertyExpression
Default:
""


Copyright © 2011 OneBusAway. All Rights Reserved.