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.server |
Jersey server-side classes.
|
Modifier and Type | Method and Description |
---|---|
ComponentBag |
ClientConfig.State.getComponentBag() |
Modifier and Type | Method and Description |
---|---|
static void |
ProviderBinder.bindProviders(ComponentBag componentBag,
javax.ws.rs.RuntimeType constrainedTo,
java.util.Set<java.lang.Class<?>> registeredClasses,
org.glassfish.hk2.api.DynamicConfiguration dynamicConfiguration)
Bind all providers contained in
providerBag (classes and instances) using HK2 service locator. |
static void |
ProviderBinder.bindProviders(ComponentBag componentBag,
javax.ws.rs.RuntimeType constrainedTo,
java.util.Set<java.lang.Class<?>> registeredClasses,
org.glassfish.hk2.api.ServiceLocator locator)
Bind all providers contained in
providerBag (classes and instances) using HK2 service locator. |
static void |
ProviderBinder.bindProviders(ComponentBag componentBag,
org.glassfish.hk2.api.ServiceLocator locator)
Bind all providers contained in
providerBag (classes and instances) using HK2 service locator. |
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(com.google.common.base.Predicate<ContractProvider> registrationStrategy)
Create new empty component bag.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
(package private) ComponentBag |
ResourceConfig.getComponentBag()
Get the internal component bag.
|
Modifier and Type | Method and Description |
---|---|
private void |
ApplicationHandler.bindProvidersAndResources(java.lang.Iterable<ComponentProvider> componentProviders,
ComponentBag componentBag,
java.util.Collection<java.lang.Class<?>> resourceClasses,
java.util.Collection<java.lang.Object> resourceInstances) |
private static <T> javax.ws.rs.core.MultivaluedMap<java.lang.Class<? extends java.lang.annotation.Annotation>,RankedProvider<T>> |
ApplicationHandler.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.
|
private ProcessingProviders |
ApplicationHandler.getProcessingProviders(ComponentBag componentBag) |