Package org.jvnet.hk2.config
Class HK2DomConfigUtilities
- java.lang.Object
-
- org.jvnet.hk2.config.HK2DomConfigUtilities
-
public class HK2DomConfigUtilities extends Object
Utilities for working with HK2 config- Author:
- jwells
-
-
Constructor Summary
Constructors Constructor Description HK2DomConfigUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
enableHK2DomConfiguration(org.glassfish.hk2.api.ServiceLocator locator)
This method enables HK2 Dom based XML configuration parsing for systems that do not use HK2 metadata files or use a non-default name for HK2 metadata files.static void
enableHK2DomConfiguration(org.glassfish.hk2.api.ServiceLocator locator, org.glassfish.hk2.api.HK2Loader loader)
This method enables HK2 Dom based XML configuration parsing for systems that do not use HK2 metadata files or use a non-default name for HK2 metadata files.
-
-
-
Method Detail
-
enableHK2DomConfiguration
public static void enableHK2DomConfiguration(org.glassfish.hk2.api.ServiceLocator locator, org.glassfish.hk2.api.HK2Loader loader)
This method enables HK2 Dom based XML configuration parsing for systems that do not use HK2 metadata files or use a non-default name for HK2 metadata files. This method is idempotent, so that if the services already are available in the locator they will not get added again- Parameters:
locator
- The non-null locator to add the hk2 dom based configuration services to
-
enableHK2DomConfiguration
public static void enableHK2DomConfiguration(org.glassfish.hk2.api.ServiceLocator locator)
This method enables HK2 Dom based XML configuration parsing for systems that do not use HK2 metadata files or use a non-default name for HK2 metadata files. This method is idempotent, so that if the services already are available in the locator they will not get added again- Parameters:
locator
- The non-null locator to add the hk2 dom based configuration services to
-
-