public final class GlobalSelector<T> extends Selector<T>
Selector.Getter<T>
Constructor and Description |
---|
GlobalSelector(T instance)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
T |
get()
Get the currently relevant object, or
null if there is none. |
getChangePermissionFor, getGetPermissionFor, getSetPermissionFor, nullSelector, selectorFor, selectorGetterActionFor, selectorGetterFor, setSelectorFor
public GlobalSelector(T instance)
instance
- the constant instance to always return from this selectorCopyright © 2015 JBoss, a division of Red Hat, Inc.