Package org.glassfish.jersey.server
Class ServerBootstrapBag
java.lang.Object
org.glassfish.jersey.internal.BootstrapBag
org.glassfish.jersey.server.ServerBootstrapBag
A holder that is used only during Jersey bootstrap to keep the instances of the given types and then use them during the
bootstrap. This works as a replacement of an injection framework during a bootstrap and intentionally keeps all needed types in
separate fields to make strong type nature and to preserve a clear view which types are needed to inject to other services.
This bootstrap bag is specialized for server part of Jersey.
- Author:
- Petr Bouda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setApplication
(Application application) void
setApplicationHandler
(ApplicationHandler applicationHandler) void
setComponentProviders
(LazyValue<Collection<ComponentProvider>> componentProviders) void
setModelProcessors
(Collection<ModelProcessor> modelProcessors) void
void
setProcessingProviders
(ProcessingProviders processingProviders) void
setResourceBag
(org.glassfish.jersey.server.ResourceBag resourceBag) void
setResourceContext
(JerseyResourceContext resourceContext) void
setResourceMethodInvokerBuilder
(ResourceMethodInvoker.Builder resourceMethodInvokerBuilder) void
setResourceModel
(ResourceModel resourceModel) void
setValueParamProviders
(Collection<ValueParamProvider> valueParamProviders) Methods inherited from class org.glassfish.jersey.internal.BootstrapBag
getAutoDiscoverables, getConfiguration, getContextResolvers, getExceptionMappers, getManagedObjectsFinalizer, getMessageBodyWorkers, getRequestScope, requireNonNull, setAutoDiscoverables, setConfiguration, setContextResolvers, setExceptionMappers, setManagedObjectsFinalizer, setMessageBodyWorkers, setRequestScope
-
Constructor Details
-
ServerBootstrapBag
public ServerBootstrapBag()
-
-
Method Details
-
getModelProcessors
-
setModelProcessors
-
getResourceBag
-
setResourceBag
-
getRuntimeConfig
-
getApplication
-
setApplication
-
getApplicationHandler
-
setApplicationHandler
-
getProcessingProviders
-
setProcessingProviders
-
getMultivaluedParameterExtractorProvider
-
setMultivaluedParameterExtractorProvider
public void setMultivaluedParameterExtractorProvider(MultivaluedParameterExtractorProvider provider) -
getValueParamProviders
-
setValueParamProviders
-
getResourceContext
-
setResourceContext
-
getComponentProviders
-
setComponentProviders
-
getResourceMethodInvokerBuilder
-
setResourceMethodInvokerBuilder
public void setResourceMethodInvokerBuilder(ResourceMethodInvoker.Builder resourceMethodInvokerBuilder) -
getResourceModel
-
setResourceModel
-