Package | Description |
---|---|
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.
|
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,
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 in
providerBag (classes and instances) using injection manager. |
Modifier and Type | Method and Description |
---|---|
ComponentBag |
ComponentBag.copy()
Get a copy of this component bag.
|
ComponentBag |
CommonConfig.getComponentBag()
Returns a
ComponentBag instance associated with the configuration. |
ComponentBag |
ComponentBag.immutableCopy()
Get immutable copy of a component bag.
|
static ComponentBag |
ComponentBag.newInstance(Predicate<ContractProvider> registrationStrategy)
Create new empty component bag.
|
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
ComponentBag.getFromBinders(InjectionManager injectionManager,
ComponentBag componentBag,
Function<Object,T> cast,
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) . |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractExecutorProvidersConfigurator.registerExecutors(InjectionManager injectionManager,
ComponentBag componentBag,
ExecutorServiceProvider defaultAsyncExecutorProvider,
ScheduledExecutorServiceProvider defaultScheduledExecutorProvider,
ManagedObjectsFinalizer finalizer)
Retrieves registered
ExecutorServiceProvider and ScheduledExecutorServiceProvider by an application and
adds the default implementations of those interfaces to binds them into InjectionManager . |
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.