com.sun.jersey.spi.container.servlet
Class ServletContainer.ContextInjectableProvider<T>
java.lang.Object
com.sun.jersey.spi.inject.SingletonTypeInjectableProvider<Context,T>
com.sun.jersey.spi.container.servlet.ServletContainer.ContextInjectableProvider<T>
- Type Parameters:
T
- the type of the constant value.
- All Implemented Interfaces:
- Injectable<T>, InjectableProvider<Context,Type>
- Enclosing class:
- ServletContainer
protected static class ServletContainer.ContextInjectableProvider<T>
- extends SingletonTypeInjectableProvider<Context,T>
A helper class for creating an injectable provider that supports
Context
with a type and constant value.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletContainer.ContextInjectableProvider
protected ServletContainer.ContextInjectableProvider(Type type,
T instance)
- Create a new instance.
- Parameters:
type
- the type of the constant value.instance
- the constant value.
Copyright © 2013 Oracle Corporation. All Rights Reserved.