Class PropertyFileUtilities
- java.lang.Object
-
- org.glassfish.hk2.configuration.persistence.properties.PropertyFileUtilities
-
public class PropertyFileUtilities extends java.lang.Object
This utility should be used when initializing hk2 in order to properly add the PropertyFileService to a specific registry
-
-
Constructor Summary
Constructors Constructor Description PropertyFileUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
enablePropertyFileService(ServiceLocator locator)
This class adds the system implementation ofPropertyFileService
to the given service locator.
-
-
-
Method Detail
-
enablePropertyFileService
public static void enablePropertyFileService(ServiceLocator locator)
This class adds the system implementation ofPropertyFileService
to the given service locator. If an implementation ofPropertyFileService
already exists this method does nothing- Parameters:
locator
- The non-null ServiceLocator to add the PropertyFileService into
-
-