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 ComponentBagClientExecutorProvidersConfigurator. componentBagMethods in org.glassfish.jersey.client that return ComponentBag Modifier and Type Method Description ComponentBagClientConfig.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 voidProviderBinder. 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 voidProviderBinder. 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 classComponentBag.ImmutableComponentBagImmutable version ofComponentBag.Fields in org.glassfish.jersey.model.internal declared as ComponentBag Modifier and Type Field Description private ComponentBagCommonConfig. componentBagConfigured providers, does not include features and binders.Methods in org.glassfish.jersey.model.internal that return ComponentBag Modifier and Type Method Description ComponentBagComponentBag. copy()Get a copy of this component bag.ComponentBagComponentBag.ImmutableComponentBag. copy()ComponentBagCommonConfig. getComponentBag()Returns aComponentBaginstance associated with the configuration.ComponentBagComponentBag.ImmutableComponentBag. immutableCopy()ComponentBagComponentBag. immutableCopy()Get immutable copy of a component bag.static ComponentBagComponentBag. 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)IfTobject is registered inComponentBagusing theBinder,Tis not visible using the methods for getting classes and instancesgetClasses(Predicate)andgetInstances(Predicate).(package private) voidComponentBag. 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 voidAbstractExecutorProvidersConfigurator. registerExecutors(InjectionManager injectionManager, ComponentBag componentBag, ExecutorServiceProvider defaultAsyncExecutorProvider, ScheduledExecutorServiceProvider defaultScheduledExecutorProvider)Retrieves registeredExecutorServiceProviderandScheduledExecutorServiceProviderby 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) ComponentBagResourceConfig. getComponentBag()Get the internal component bag.Methods in org.glassfish.jersey.server with parameters of type ComponentBag Modifier and Type Method Description private voidResourceModelConfigurator. 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.
-