Package org.glassfish.internal.embedded
Enum ContainerBuilder.Type
- java.lang.Object
-
- java.lang.Enum<ContainerBuilder.Type>
-
- org.glassfish.internal.embedded.ContainerBuilder.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ContainerBuilder.Type>
- Enclosing interface:
- ContainerBuilder<T extends EmbeddedContainer>
public static enum ContainerBuilder.Type extends Enum<ContainerBuilder.Type>
Default sets of container that can be built. Other containers can be added not using one of this predefined types.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContainerBuilder.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContainerBuilder.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ejb
public static final ContainerBuilder.Type ejb
ejb container type
-
web
public static final ContainerBuilder.Type web
web container type
-
jruby
public static final ContainerBuilder.Type jruby
jruby container type
-
jpa
public static final ContainerBuilder.Type jpa
persistence container type
-
webservices
public static final ContainerBuilder.Type webservices
webservices container type
-
all
public static final ContainerBuilder.Type all
all installed containers
-
-
Method Detail
-
values
public static ContainerBuilder.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ContainerBuilder.Type c : ContainerBuilder.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContainerBuilder.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-