public class FeatureContextWrapper extends Object implements FeatureContext, org.glassfish.jersey.internal.inject.InjectionManagerSupplier
FeatureContext
that can supply instance of
injection manager
.Constructor and Description |
---|
FeatureContextWrapper(FeatureContext context,
org.glassfish.jersey.internal.inject.InjectionManager injectionManager)
Create a new instance of wrapper.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration() |
org.glassfish.jersey.internal.inject.InjectionManager |
getInjectionManager()
Get injection manager.
|
FeatureContext |
property(String name,
Object value) |
FeatureContext |
register(Class<?> componentClass) |
FeatureContext |
register(Class<?> componentClass,
Class<?>... contracts) |
FeatureContext |
register(Class<?> componentClass,
int priority) |
FeatureContext |
register(Class<?> componentClass,
Map<Class<?>,Integer> contracts) |
FeatureContext |
register(Object component) |
FeatureContext |
register(Object component,
Class<?>... contracts) |
FeatureContext |
register(Object component,
int priority) |
FeatureContext |
register(Object component,
Map<Class<?>,Integer> contracts) |
public FeatureContextWrapper(FeatureContext context, org.glassfish.jersey.internal.inject.InjectionManager injectionManager)
context
- Feature context instance that should be wrapped.injectionManager
- injection manager.public Configuration getConfiguration()
getConfiguration
in interface Configurable<FeatureContext>
public FeatureContext property(String name, Object value)
property
in interface Configurable<FeatureContext>
public FeatureContext register(Class<?> componentClass)
register
in interface Configurable<FeatureContext>
public FeatureContext register(Class<?> componentClass, int priority)
register
in interface Configurable<FeatureContext>
public FeatureContext register(Class<?> componentClass, Class<?>... contracts)
register
in interface Configurable<FeatureContext>
public FeatureContext register(Class<?> componentClass, Map<Class<?>,Integer> contracts)
register
in interface Configurable<FeatureContext>
public FeatureContext register(Object component)
register
in interface Configurable<FeatureContext>
public FeatureContext register(Object component, int priority)
register
in interface Configurable<FeatureContext>
public FeatureContext register(Object component, Class<?>... contracts)
register
in interface Configurable<FeatureContext>
public FeatureContext register(Object component, Map<Class<?>,Integer> contracts)
register
in interface Configurable<FeatureContext>
public org.glassfish.jersey.internal.inject.InjectionManager getInjectionManager()
org.glassfish.jersey.internal.inject.InjectionManagerSupplier
getInjectionManager
in interface org.glassfish.jersey.internal.inject.InjectionManagerSupplier
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.