Package org.glassfish.jersey.internal
Class AutoDiscoverableConfigurator
java.lang.Object
org.glassfish.jersey.internal.AbstractServiceFinderConfigurator<AutoDiscoverable>
org.glassfish.jersey.internal.AutoDiscoverableConfigurator
- All Implemented Interfaces:
BootstrapConfigurator
public class AutoDiscoverableConfigurator
extends AbstractServiceFinderConfigurator<AutoDiscoverable>
Configurator which initializes and register
AutoDiscoverable
instances into InjectionManager
and
BootstrapBag
.- Author:
- Petr Bouda
-
Constructor Summary
ConstructorDescriptionAutoDiscoverableConfigurator
(RuntimeType runtimeType) Create a new configurator. -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(InjectionManager injectionManager, BootstrapBag bootstrapBag) Pre-initialization method should only register services intoInjectionManager
and populateBootstrapBag
.Methods inherited from class org.glassfish.jersey.internal.AbstractServiceFinderConfigurator
getContract, getRuntimeType, loadImplementations
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.glassfish.jersey.internal.BootstrapConfigurator
postInit
-
Constructor Details
-
AutoDiscoverableConfigurator
Create a new configurator.- Parameters:
runtimeType
- runtime (client or server) where the service finder binder is used.
-
-
Method Details
-
init
Description copied from interface:BootstrapConfigurator
Pre-initialization method should only register services intoInjectionManager
and populateBootstrapBag
.- Parameters:
injectionManager
- not completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.
-