public static enum ContextLocal.Factory.Predefined extends Enum<ContextLocal.Factory.Predefined>
Modifier and Type | Field and Description |
---|---|
static ContextLocal.Factory |
JDKThreadLocalFactory |
Modifier and Type | Method and Description |
---|---|
static ContextLocal.Factory |
defaultFactory() |
static ContextLocal.Factory.Predefined |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextLocal.Factory.Predefined[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static ContextLocal.Factory JDKThreadLocalFactory
public static ContextLocal.Factory.Predefined[] values()
for (ContextLocal.Factory.Predefined c : ContextLocal.Factory.Predefined.values()) System.out.println(c);
public static ContextLocal.Factory.Predefined valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ContextLocal.Factory defaultFactory()
Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.