Package org.glassfish.tests.utils
Class Utils
- java.lang.Object
-
- org.glassfish.tests.utils.Utils
-
public class Utils extends Object
Utilities to create a configured Habitat and cache them- Author:
- Jerome Dochez
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.glassfish.hk2.api.ServiceLocator
getHabitat(ConfigApiTest test)
static org.glassfish.hk2.api.ServiceLocator
getNewHabitat()
static org.glassfish.hk2.api.ServiceLocator
getNewHabitat(String root)
void
shutdownServiceLocator(ConfigApiTest test)
-
-
-
Field Detail
-
instance
public static final Utils instance
-
-
Method Detail
-
getHabitat
public org.glassfish.hk2.api.ServiceLocator getHabitat(ConfigApiTest test)
-
getNewHabitat
public static org.glassfish.hk2.api.ServiceLocator getNewHabitat()
-
getNewHabitat
public static org.glassfish.hk2.api.ServiceLocator getNewHabitat(String root)
-
shutdownServiceLocator
public void shutdownServiceLocator(ConfigApiTest test)
-
-