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.-
Constructor Summary
ConstructorsConstructorDescriptionAutoDiscoverableConfigurator(javax.ws.rs.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 AbstractServiceFinderConfigurator
loadImplementationsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BootstrapConfigurator
postInit
-
Constructor Details
-
AutoDiscoverableConfigurator
public AutoDiscoverableConfigurator(javax.ws.rs.RuntimeType runtimeType) 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.
-