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