org.glassfish.internal.embedded
Enum ContainerBuilder.Type

java.lang.Object
  extended by java.lang.Enum<ContainerBuilder.Type>
      extended by 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.


Enum Constant Summary
all
          all installed containers
ejb
          ejb container type
jpa
          persistence container type
jruby
          jruby container type
web
          web container type
webservices
          webservices container type
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2012 GlassFish Community. All Rights Reserved.