Deprecated
Use Contextual instead.
| Modifier and Type | Class and Description |
|---|---|
| public static class | Selector.Getter<
the selectable class' type T>An efficient, unchecked getter for a selector for a given class. |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Selector | |
| private static final ClassValue |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract T | Returns: the currently relevant objectGet the currently relevant object, or |
| public static SelectorPermission | Returns: the selector permission for the classthe class to get the permission for clazz)Get the |
| public static SelectorPermission | Returns: the selector permission for the classthe class to get the permission for clazz)Get the |
| public static SelectorPermission | Returns: the selector permission for the classthe class to get the permission for clazz)Get the |
| public static < the selectable class' type T> Selector | Returns: thenull selector
Deprecated
as a consequence of
Get the Selector being deprecated.
null selector.
|
| public static < the class type T> Selector | Returns: the selector for the given type (notnull)the class clazz)
Deprecated
as a consequence of
Get the selector for a given class.
Selector being deprecated.
|
| public static < the class type T> PrivilegedAction | Returns: the getter privileged actionthe class clazz)Get a privileged action which returns the getter for a selector. |
| public static < the class type T> Selector. | Returns: the unchecked selector getterthe class clazz)Get an efficient, unchecked selector getter for a given class. |
| public static < the class type T> void | setSelectorFor(Class<T>
the class clazz, Selector<T> the selector to set for the class selector)
Deprecated
as a consequence of
Set the selector for a given class.
Selector being deprecated.
|
| NULL | back to summary |
|---|---|
| private static final Selector<?> NULL
Deprecated as a consequence of | |
| selVal | back to summary |
|---|---|
| private static final ClassValue<Selector. | |
| Selector | back to summary |
|---|---|
| protected Selector() | |
| get | back to summary |
|---|---|
| public abstract T get() Get the currently relevant object, or
| |
| getChangePermissionFor | back to summary |
|---|---|
| public static SelectorPermission getChangePermissionFor(Class<?> clazz) Get the
| |
| getGetPermissionFor | back to summary |
|---|---|
| public static SelectorPermission getGetPermissionFor(Class<?> clazz) Get the
| |
| getSetPermissionFor | back to summary |
|---|---|
| public static SelectorPermission getSetPermissionFor(Class<?> clazz) Get the
| |
| nullSelector | back to summary |
|---|---|
| public static <T> Selector Deprecated as a consequence of Get the
| |
| selectorFor | back to summary |
|---|---|
| public static <T> Selector Deprecated as a consequence of Get the selector for a given class. Never returns
| |
| selectorGetterActionFor | back to summary |
|---|---|
| public static <T> PrivilegedAction Get a privileged action which returns the getter for a selector.
| |
| selectorGetterFor | back to summary |
|---|---|
| public static <T> Selector. Get an efficient, unchecked selector getter for a given class. The caller must have the
| |
| setSelectorFor | back to summary |
|---|---|
| public static <T> void setSelectorFor(Class<T> clazz, Selector<T> selector)
Deprecated as a consequence of Set the selector for a given class. If there is no selector set, the caller must have the
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Selector | Returns: the selector
Deprecated
as a consequence of
Get the selector for this getter.
Selector being deprecated.
|
| holder | back to summary |
|---|---|
| private final Selector. | |
| Getter | back to summary |
|---|---|
| pack-priv Getter(final Selector. | |
| getSelector | back to summary |
|---|---|
| public Selector Deprecated as a consequence of Get the selector for this getter. No permission checks are performed.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final SelectorPermission | |
| private final Class | |
| private final SelectorPermission | |
| private final AtomicReference | |
| private final SelectorPermission |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv SelectorPermission | |
| pack-priv Class | |
| pack-priv SelectorPermission | |
| pack-priv SelectorPermission | |
| pack-priv void | |
| pack-priv void |
| changePermission | back to summary |
|---|---|
| private final SelectorPermission changePermission | |
| clazz | back to summary |
|---|---|
| private final Class<T> clazz | |
| getPermission | back to summary |
|---|---|
| private final SelectorPermission getPermission | |
| lockRef | back to summary |
|---|---|
| private final AtomicReference<Object> lockRef | |
| setPermission | back to summary |
|---|---|
| private final SelectorPermission setPermission | |
| Holder | back to summary |
|---|---|
| pack-priv Holder(final Class<T> clazz) | |
| getChangePermission | back to summary |
|---|---|
| pack-priv SelectorPermission getChangePermission() | |
| getClazz | back to summary |
|---|---|
| pack-priv Class | |
| getGetPermission | back to summary |
|---|---|
| pack-priv SelectorPermission getGetPermission() | |
| getSetPermission | back to summary |
|---|---|
| pack-priv SelectorPermission getSetPermission() | |
| lock | back to summary |
|---|---|
| pack-priv void lock(Object key) | |
| unlock | back to summary |
|---|---|
| pack-priv void unlock(Object key) | |