Package org.onebusaway.federations
Class FederatedServiceRegistryConstants
- java.lang.Object
-
- org.onebusaway.federations.FederatedServiceRegistryConstants
-
public class FederatedServiceRegistryConstants extends Object
CommonFederatedServiceRegistry
constants that are typically used to control service registry entry behavior when passed as parameters toFederatedServiceRegistry.addService(String, String, java.util.Map)
andFederatedServiceRegistry.getServices(String, java.util.Map)
- Author:
- bdferris
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description FederatedServiceRegistryConstants()
-
-
-
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
-
-