public enum ExtensionRegistryType extends Enum<ExtensionRegistryType>
| Enum Constant and Description |
|---|
HOST
The extension registry is for the host model part in a host controller.
|
MASTER
The extension registry is for the domain model part in a host controller running as a slave.
|
SERVER
The extension registry is for a standalone or managed server.
|
SLAVE
The extension registry is for the domain model part in a host controller running as a slave.
|
| Modifier and Type | Method and Description |
|---|---|
ExtensionContext.ContextType |
getContextType() |
static ExtensionRegistryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtensionRegistryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtensionRegistryType SERVER
public static final ExtensionRegistryType HOST
public static final ExtensionRegistryType MASTER
public static final ExtensionRegistryType SLAVE
public static ExtensionRegistryType[] values()
for (ExtensionRegistryType c : ExtensionRegistryType.values()) System.out.println(c);
public static ExtensionRegistryType 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 ExtensionContext.ContextType getContextType()
Copyright © 2019 JBoss by Red Hat. All rights reserved.