T
- the context typepublic final class ConstantContextSelector<T> extends Object implements ContextSelector<T>
Constructor and Description |
---|
ConstantContextSelector(T instance)
Construct a new instance.
|
public ConstantContextSelector(T instance)
instance
- the context instancepublic T getCurrent()
ContextSelector
null
if none are valid in the current context.getCurrent
in interface ContextSelector<T>
null
if there is noneCopyright © 2018 JBoss by Red Hat. All rights reserved.