Package | Description |
---|---|
org.wildfly.common.selector |
Classes which implement a selector pattern, which enables a global provider of some service to be selected
depending on context.
|
Modifier and Type | Class and Description |
---|---|
class |
GlobalSelector<T>
A selector which always returns one global instance.
|
class |
ThreadLocalSelector<T>
A thread local selector implementation.
|
Modifier and Type | Method and Description |
---|---|
Selector<T> |
Selector.Getter.getSelector()
Get the selector for this getter.
|
static <T> Selector<T> |
Selector.nullSelector()
Get the
null selector. |
static <T> Selector<T> |
Selector.selectorFor(Class<T> clazz)
Get the selector for a given class.
|
Modifier and Type | Method and Description |
---|---|
static <T> void |
Selector.setSelectorFor(Class<T> clazz,
Selector<T> selector)
Set the selector for a given class.
|
Copyright © 2015 JBoss, a division of Red Hat, Inc.