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.
|
Modifier and Type | Field and Description |
---|---|
private ComponentBag |
ClientExecutorProvidersConfigurator.componentBag |
Modifier and Type | Method and Description |
---|---|
ComponentBag |
ClientConfig.State.getComponentBag() |
Constructor and Description |
---|
ClientExecutorProvidersConfigurator(ComponentBag componentBag,
JerseyClient client,
java.util.concurrent.ExecutorService customExecutorService,
java.util.concurrent.ScheduledExecutorService customScheduledExecutorService) |
Modifier and Type | Method and Description |
---|---|
static void |
ProviderBinder.bindProviders(ComponentBag componentBag,
InjectionManager injectionManager)
Bind all providers contained in
providerBag (classes and instances) using injection manager. |
static void |
ProviderBinder.bindProviders(ComponentBag componentBag,
javax.ws.rs.RuntimeType constrainedTo,
java.util.Set<java.lang.Class<?>> registeredClasses,
InjectionManager injectionManager)
Bind all providers contained in
providerBag (classes and instances) using injection manager. |
Modifier and Type | Class and Description |
---|---|
private static class |
ComponentBag.ImmutableComponentBag
Immutable version of
ComponentBag . |
Modifier and Type | Field and Description |
---|---|
private ComponentBag |
CommonConfig.componentBag
Configured providers, does not include features and binders.
|
Modifier and Type | Method and Description |
---|---|
ComponentBag |
ComponentBag.copy()
Get a copy of this component bag.
|
ComponentBag |
ComponentBag.ImmutableComponentBag.copy() |
ComponentBag |
CommonConfig.getComponentBag()
Returns a
ComponentBag instance associated with the configuration. |
ComponentBag |
ComponentBag.immutableCopy()
Get immutable copy of a component bag.
|
ComponentBag |
ComponentBag.ImmutableComponentBag.immutableCopy() |
static ComponentBag |
ComponentBag.newInstance(java.util.function.Predicate<ContractProvider> registrationStrategy)
Create new empty component bag.
|
Modifier and Type | Method and 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)
If
T object is registered in ComponentBag using the Binder , T is not visible using the
methods for getting classes and instances getClasses(Predicate) and
getInstances(Predicate) . |
(package private) void |
ComponentBag.loadFrom(ComponentBag bag)
Clear and initialize the component registrations from given bag instance.
|
Constructor and Description |
---|
ImmutableComponentBag(ComponentBag original) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractExecutorProvidersConfigurator.registerExecutors(InjectionManager injectionManager,
ComponentBag componentBag,
ExecutorServiceProvider defaultAsyncExecutorProvider,
ScheduledExecutorServiceProvider defaultScheduledExecutorProvider)
Retrieves registered
ExecutorServiceProvider and ScheduledExecutorServiceProvider by an application and
adds the default implementations of those interfaces to binds them into InjectionManager . |
Modifier and Type | Method and Description |
---|---|
(package private) ComponentBag |
ResourceConfig.getComponentBag()
Get the internal component bag.
|
Modifier and Type | Method and 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.
|