Uses of Class
org.glassfish.jersey.model.internal.ComponentBag
Packages that use ComponentBag
Package
Description
Common Jersey internal model related classes and interfaces.
Common Jersey internal processing classes.
-
Uses of ComponentBag in org.glassfish.jersey.model.internal
Methods in org.glassfish.jersey.model.internal that return ComponentBagModifier and TypeMethodDescriptionComponentBag.copy()
Get a copy of this component bag.final ComponentBag
CommonConfig.getComponentBag()
Returns aComponentBag
instance associated with the configuration.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
(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, ComponentBag componentBag, Function<Object, T> cast, Predicate<org.glassfish.jersey.internal.inject.Binding> filter) IfT
object is registered inComponentBag
using theBinder
,T
is not visible using the methods for getting classes and instancesgetClasses(Predicate)
andgetInstances(Predicate)
. -
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
(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, ComponentBag componentBag, ExecutorServiceProvider defaultAsyncExecutorProvider, ScheduledExecutorServiceProvider defaultScheduledExecutorProvider, ManagedObjectsFinalizer finalizer) Retrieves registeredExecutorServiceProvider
andScheduledExecutorServiceProvider
by an application and adds the default implementations of those interfaces to binds them intoInjectionManager
.