Uses of Class
org.glassfish.jersey.model.internal.ComponentBag
Package
Description
Common Jersey internal injection utility classes.
Common Jersey internal model related classes and interfaces.
Common Jersey internal processing classes.
-
Uses of ComponentBag in org.glassfish.jersey.internal.inject
Modifier and TypeMethodDescriptionstatic void
ProviderBinder.bindProviders
(ComponentBag componentBag, RuntimeType constrainedTo, Set<Class<?>> registeredClasses, InjectionManager injectionManager) Deprecated.static void
ProviderBinder.bindProviders
(ComponentBag componentBag, RuntimeType constrainedTo, Set<Class<?>> registeredClasses, InjectionManager injectionManager, Collection<ComponentProvider> componentProviders) 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
Modifier 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.Modifier 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)
. -
Uses of ComponentBag in org.glassfish.jersey.process.internal
Modifier and TypeMethodDescriptionprotected void
AbstractExecutorProvidersConfigurator.registerExecutors
(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
.