public abstract class ThreadLocalSingletonContextProvider<T> extends Object implements InjectableProvider<javax.ws.rs.core.Context,Type>
Modifier | Constructor and Description |
---|---|
protected |
ThreadLocalSingletonContextProvider(Class<T> t) |
Modifier and Type | Method and Description |
---|---|
Injectable<T> |
getInjectable(ComponentContext ic,
javax.ws.rs.core.Context a,
Type c)
Get an injectable.
|
protected abstract T |
getInstance() |
ComponentScope |
getScope()
Get the scope of the injectable provider.
|
public ComponentScope getScope()
InjectableProvider
getScope
in interface InjectableProvider<javax.ws.rs.core.Context,Type>
public Injectable<T> getInjectable(ComponentContext ic, javax.ws.rs.core.Context a, Type c)
InjectableProvider
getInjectable
in interface InjectableProvider<javax.ws.rs.core.Context,Type>
ic
- the injectable contexta
- the annotation instancec
- the context instanceprotected abstract T getInstance()
Copyright © 2013 Oracle Corporation. All rights reserved.