public enum ComponentsFactory extends Enum<ComponentsFactory>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
ByteArrayClassLoader |
createByteArrayClassLoader(ClassLoader parent) |
Object |
createConsequenceExceptionHandler(String className,
ClassLoader classLoader) |
ProjectClassLoader |
createProjectClassLoader(ClassLoader parent,
ResourceProvider resourceProvider) |
Object |
createTimerService(String className) |
ComponentsSupplier |
getComponentsSupplier() |
void |
setComponentsSupplier(ComponentsSupplier supplier) |
static ComponentsFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentsFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentsFactory INSTANCE
public static ComponentsFactory[] values()
for (ComponentsFactory c : ComponentsFactory.values()) System.out.println(c);
public static ComponentsFactory 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 ProjectClassLoader createProjectClassLoader(ClassLoader parent, ResourceProvider resourceProvider)
public ByteArrayClassLoader createByteArrayClassLoader(ClassLoader parent)
public Object createConsequenceExceptionHandler(String className, ClassLoader classLoader)
public ComponentsSupplier getComponentsSupplier()
public void setComponentsSupplier(ComponentsSupplier supplier)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.