org.onebusaway.federations
Class FederatedServiceRegistryConstants

java.lang.Object
  extended by org.onebusaway.federations.FederatedServiceRegistryConstants

public class FederatedServiceRegistryConstants
extends Object

Common FederatedServiceRegistry constants that are typically used to control service registry entry behavior when passed as parameters to FederatedServiceRegistry.addService(String, String, java.util.Map) and FederatedServiceRegistry.getServices(String, java.util.Map)

Author:
bdferris

Field Summary
static String KEY_INITIALLY_ENABLED
          Controls whether a service registry instance is initial enabled or not.
static String KEY_REGISTRATION_EXPIRES_AFTER
          A service parameter that specifies that a service registry should automatically expire after a specified number of seconds unless the service registry has been republished.
 
Constructor Summary
FederatedServiceRegistryConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_REGISTRATION_EXPIRES_AFTER

public static final String KEY_REGISTRATION_EXPIRES_AFTER
A service parameter that specifies that a service registry should automatically expire after a specified number of seconds unless the service registry has been republished. Used to automatically expire services if we haven't heard from them in a while.

See Also:
Constant Field Values

KEY_INITIALLY_ENABLED

public static final String KEY_INITIALLY_ENABLED
Controls whether a service registry instance is initial enabled or not. Valid values are "true" or "false".

See Also:
Constant Field Values
Constructor Detail

FederatedServiceRegistryConstants

public FederatedServiceRegistryConstants()


Copyright © 2012 OneBusAway. All Rights Reserved.