Uses of Class
org.glassfish.jersey.model.internal.ComponentBag
Packages that use ComponentBag
Package
Description
Jersey client-side classes.
Common Jersey internal injection utility classes.
Common Jersey internal model related classes and interfaces.
Common Jersey internal processing classes.
Jersey server-side classes.
-
Uses of ComponentBag in org.glassfish.jersey.client
Fields in org.glassfish.jersey.client declared as ComponentBagModifier and TypeFieldDescriptionprivate final ComponentBag
ClientExecutorProvidersConfigurator.componentBag
Methods in org.glassfish.jersey.client that return ComponentBagConstructors in org.glassfish.jersey.client with parameters of type ComponentBagModifierConstructorDescription(package private)
ClientExecutorProvidersConfigurator
(ComponentBag componentBag, JerseyClient client, ExecutorService customExecutorService, ScheduledExecutorService customScheduledExecutorService) -
Uses of ComponentBag in org.glassfish.jersey.internal.inject
Methods in org.glassfish.jersey.internal.inject with parameters of type ComponentBagModifier and TypeMethodDescriptionstatic void
ProviderBinder.bindProviders
(ComponentBag componentBag, javax.ws.rs.RuntimeType constrainedTo, Set<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.internalFields in org.glassfish.jersey.model.internal declared as ComponentBagModifier and TypeFieldDescriptionprivate final ComponentBag
CommonConfig.componentBag
Configured providers, does not include features and binders.Methods in org.glassfish.jersey.model.internal that return ComponentBagModifier and TypeMethodDescriptionComponentBag.copy()
Get a copy of this component bag.ComponentBag.ImmutableComponentBag.copy()
final ComponentBag
CommonConfig.getComponentBag()
Returns aComponentBag
instance associated with the configuration.ComponentBag.ImmutableComponentBag.immutableCopy()
ComponentBag.immutableCopy()
Get immutable copy of a component bag.static ComponentBag
ComponentBag.newInstance
(Predicate<ContractProvider> registrationStrategy) Create new empty component bag.Methods in org.glassfish.jersey.model.internal with parameters of type ComponentBagModifier and TypeMethodDescriptionstatic <T> List
<T> ComponentBag.getFromBinders
(InjectionManager injectionManager, ComponentBag componentBag, Function<Object, T> cast, 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 -
Uses of ComponentBag in org.glassfish.jersey.process.internal
Methods in org.glassfish.jersey.process.internal with parameters of type ComponentBagModifier and TypeMethodDescriptionprotected 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 ComponentBagModifier and TypeMethodDescription(package private) final ComponentBag
ResourceConfig.getComponentBag()
Get the internal component bag.Methods in org.glassfish.jersey.server with parameters of type ComponentBagModifier and TypeMethodDescriptionprivate void
ResourceModelConfigurator.bindProvidersAndResources
(InjectionManager injectionManager, ServerBootstrapBag bootstrapBag, ComponentBag componentBag, Collection<Class<?>> resourceClasses, Collection<Object> resourceInstances, ResourceConfig runtimeConfig) private static <T> javax.ws.rs.core.MultivaluedMap
<Class<? extends Annotation>, RankedProvider<T>> ProcessingProvidersConfigurator.filterNameBound
(Iterable<RankedProvider<T>> all, Collection<RankedProvider<javax.ws.rs.container.ContainerRequestFilter>> preMatchingFilters, ComponentBag componentBag, Collection<Class<? extends Annotation>> applicationNameBindings, javax.ws.rs.core.MultivaluedMap<RankedProvider<T>, Class<? extends 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.