Uses of Class
org.glassfish.jersey.model.internal.ComponentBag
-
Packages that use ComponentBag Package Description org.glassfish.jersey.client Jersey client-side classes.org.glassfish.jersey.internal.inject Common Jersey internal injection utility classes.org.glassfish.jersey.model.internal Common Jersey internal model related classes and interfaces.org.glassfish.jersey.process.internal Common Jersey internal processing classes.org.glassfish.jersey.server Jersey server-side classes. -
-
Uses of ComponentBag in org.glassfish.jersey.client
Fields in org.glassfish.jersey.client declared as ComponentBag Modifier and Type Field Description private ComponentBag
ClientExecutorProvidersConfigurator. componentBag
Methods in org.glassfish.jersey.client that return ComponentBag Modifier and Type Method Description ComponentBag
ClientConfig.State. getComponentBag()
Constructors in org.glassfish.jersey.client with parameters of type ComponentBag Constructor Description ClientExecutorProvidersConfigurator(ComponentBag componentBag, JerseyClient client, java.util.concurrent.ExecutorService customExecutorService, java.util.concurrent.ScheduledExecutorService customScheduledExecutorService)
-
Uses of ComponentBag in org.glassfish.jersey.internal.inject
Methods in org.glassfish.jersey.internal.inject with parameters of type ComponentBag Modifier and Type Method Description static void
ProviderBinder. bindProviders(ComponentBag componentBag, javax.ws.rs.RuntimeType constrainedTo, java.util.Set<java.lang.Class<?>> registeredClasses, InjectionManager injectionManager)
Bind all providers contained inproviderBag
(classes and instances) using injection manager.static void
ProviderBinder. bindProviders(ComponentBag componentBag, InjectionManager injectionManager)
Bind all providers contained inproviderBag
(classes and instances) using injection manager. -
Uses of ComponentBag in org.glassfish.jersey.model.internal
Subclasses of ComponentBag in org.glassfish.jersey.model.internal Modifier and Type Class Description private static class
ComponentBag.ImmutableComponentBag
Immutable version ofComponentBag
.Fields in org.glassfish.jersey.model.internal declared as ComponentBag Modifier and Type Field Description private ComponentBag
CommonConfig. componentBag
Configured providers, does not include features and binders.Methods in org.glassfish.jersey.model.internal that return ComponentBag Modifier and Type Method Description ComponentBag
ComponentBag. copy()
Get a copy of this component bag.ComponentBag
ComponentBag.ImmutableComponentBag. copy()
ComponentBag
CommonConfig. getComponentBag()
Returns aComponentBag
instance associated with the configuration.ComponentBag
ComponentBag.ImmutableComponentBag. immutableCopy()
ComponentBag
ComponentBag. immutableCopy()
Get immutable copy of a component bag.static ComponentBag
ComponentBag. newInstance(java.util.function.Predicate<ContractProvider> registrationStrategy)
Create new empty component bag.Methods in org.glassfish.jersey.model.internal with parameters of type ComponentBag Modifier and Type Method Description static <T> java.util.List<T>
ComponentBag. getFromBinders(InjectionManager injectionManager, ComponentBag componentBag, java.util.function.Function<java.lang.Object,T> cast, java.util.function.Predicate<Binding> filter)
IfT
object is registered inComponentBag
using theBinder
,T
is not visible using the methods for getting classes and instancesgetClasses(Predicate)
andgetInstances(Predicate)
.(package private) void
ComponentBag. loadFrom(ComponentBag bag)
Clear and initialize the component registrations from given bag instance.Constructors in org.glassfish.jersey.model.internal with parameters of type ComponentBag Constructor Description ImmutableComponentBag(ComponentBag original)
-
Uses of ComponentBag in org.glassfish.jersey.process.internal
Methods in org.glassfish.jersey.process.internal with parameters of type ComponentBag Modifier and Type Method Description protected void
AbstractExecutorProvidersConfigurator. registerExecutors(InjectionManager injectionManager, ComponentBag componentBag, ExecutorServiceProvider defaultAsyncExecutorProvider, ScheduledExecutorServiceProvider defaultScheduledExecutorProvider)
Retrieves registeredExecutorServiceProvider
andScheduledExecutorServiceProvider
by an application and adds the default implementations of those interfaces to binds them intoInjectionManager
. -
Uses of ComponentBag in org.glassfish.jersey.server
Methods in org.glassfish.jersey.server that return ComponentBag Modifier and Type Method Description (package private) ComponentBag
ResourceConfig. getComponentBag()
Get the internal component bag.Methods in org.glassfish.jersey.server with parameters of type ComponentBag Modifier and Type Method Description private void
ResourceModelConfigurator. bindProvidersAndResources(InjectionManager injectionManager, ServerBootstrapBag bootstrapBag, ComponentBag componentBag, java.util.Collection<java.lang.Class<?>> resourceClasses, java.util.Collection<java.lang.Object> resourceInstances, ResourceConfig runtimeConfig)
private static <T> javax.ws.rs.core.MultivaluedMap<java.lang.Class<? extends java.lang.annotation.Annotation>,RankedProvider<T>>
ProcessingProvidersConfigurator. filterNameBound(java.lang.Iterable<RankedProvider<T>> all, java.util.Collection<RankedProvider<javax.ws.rs.container.ContainerRequestFilter>> preMatchingFilters, ComponentBag componentBag, java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> applicationNameBindings, javax.ws.rs.core.MultivaluedMap<RankedProvider<T>,java.lang.Class<? extends java.lang.annotation.Annotation>> inverseNameBoundMap)
Takes collection of all filters/interceptors (either request/reader or response/writer) and separates out all name-bound filters/interceptors, returns them as a separate MultivaluedMap, mapping the name-bound annotation to the list of name-bound filters/interceptors.
-