ServiceLocator created by
this ServiceLocatorTestRule.ExternalResource.apply(Statement,
Description) method to save the supplied Description so
that other methods in this class can refer to it.ServiceLocatorTestRule.createServiceLocator(Description), ServiceLocatorTestRule.configureServiceLocator(ServiceLocator, Description) and ServiceLocatorTestRule.performDependencyInjection(ServiceLocator, Object) methods in
order to set up a ServiceLocator appropriate for the
current JUnit test.ServiceLocatorTestRule.configureServiceLocator(ServiceLocator, Description) method in
case subclasses wish to add services to the ServiceLocator being configured.ServiceLocator for use by the
test described by the supplied Description.ServiceLocator suitable for the
JUnit test described by the supplied Description.String representing the classpath to use to
search for classes.ServiceLocatorTestRule.ServiceLocatorIsolation for this ServiceLocatorTestRule.ServiceLocator that is appropriate
for the supplied Description.true if the supplied Injectee
represents a service lookup rather than a true injection point.ServiceLocatorTestRule and the supplied test instance, using the
supplied ServiceLocator as needed.ExternalResource (and a Binder) that sets up and
tears down an HK2 ServiceLocator on a per-test-class or
per-test-method basis.ServiceLocatorTestRule on behalf of the
supplied JUnit test in ServiceLocatorTestRule.ServiceLocatorIsolation.PER_TEST
isolation in non-verbose mode.ServiceLocatorTestRule on behalf of the
supplied JUnit test in ServiceLocatorTestRule.ServiceLocatorIsolation.PER_TEST
isolation with the supplied verbosity.ServiceLocatorTestRule on behalf of the
supplied JUnit test in the given ServiceLocatorTestRule.ServiceLocatorIsolation
in non-verbose mode.ServiceLocatorTestRule on behalf of the
supplied JUnit test in the given ServiceLocatorTestRule.ServiceLocatorIsolation.enum describing possible ServiceLocator
isolation levels for JUnit tests.ServiceLocator.shutdown() and ServiceLocatorFactory.destroy(ServiceLocator) methods on this
ServiceLocatorTestRule's associated ServiceLocator if it is discovered to be non-null.Copyright © 2009-2018 Oracle Corporation. All Rights Reserved.