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
ConstructorsConstructorDescriptionAutoDiscoverableConfigurator(RuntimeType runtimeType) Create a new configurator. -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(InjectionManager injectionManager, BootstrapBag bootstrapBag) Pre-initialization method should only register services intoInjectionManagerand populateBootstrapBag.Methods inherited from class org.glassfish.jersey.internal.AbstractServiceFinderConfigurator
getContract, getRuntimeType, loadImplementationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:BootstrapConfiguratorPre-initialization method should only register services intoInjectionManagerand populateBootstrapBag.- Parameters:
injectionManager- not completed injection manager.bootstrapBag- bootstrap bag with services used in following processing.
-