Package org.glassfish.jersey.internal
Class AutoDiscoverableConfigurator
- java.lang.Object
-
- org.glassfish.jersey.internal.AbstractServiceFinderConfigurator<org.glassfish.jersey.internal.spi.AutoDiscoverable>
-
- org.glassfish.jersey.internal.AutoDiscoverableConfigurator
-
- All Implemented Interfaces:
BootstrapConfigurator
public class AutoDiscoverableConfigurator extends AbstractServiceFinderConfigurator<org.glassfish.jersey.internal.spi.AutoDiscoverable>
Configurator which initializes and registerAutoDiscoverable
instances intoInjectionManager
andBootstrapBag
.- Author:
- Petr Bouda
-
-
Constructor Summary
Constructors Constructor Description AutoDiscoverableConfigurator(RuntimeType runtimeType)
Create a new configurator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(org.glassfish.jersey.internal.inject.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 Detail
-
AutoDiscoverableConfigurator
public AutoDiscoverableConfigurator(RuntimeType runtimeType)
Create a new configurator.- Parameters:
runtimeType
- runtime (client or server) where the service finder binder is used.
-
-
Method Detail
-
init
public void init(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)
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.
-
-