Class PropertyFileUtilities
java.lang.Object
org.glassfish.hk2.configuration.persistence.properties.PropertyFileUtilities
This utility should be used when initializing hk2 in order to properly
add the PropertyFileService to a specific registry
- Author:
- jwells
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidenablePropertyFileService(ServiceLocator locator) This class adds the system implementation ofPropertyFileServiceto the given service locator.
-
Constructor Details
-
PropertyFileUtilities
public PropertyFileUtilities()
-
-
Method Details
-
enablePropertyFileService
This class adds the system implementation ofPropertyFileServiceto the given service locator. If an implementation ofPropertyFileServicealready exists this method does nothing- Parameters:
locator- The non-null ServiceLocator to add the PropertyFileService into
-