|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Environments>
org.jboss.webbeans.bootstrap.api.Environments
public enum Environments
Various well known environments.
Enum Constant Summary | |
---|---|
EE
Java EE5 or Java EE6 |
|
EE_WEB_PROFILE
Java EE6 Web Profile |
|
SE
Java SE |
|
SERVLET
Servlet container such as Tomcat |
Method Summary | |
---|---|
java.util.Set<java.lang.Class<? extends Service>> |
getRequiredServices()
The services to require for this environment |
static Environments |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Environments[] |
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 |
---|
public static final Environments EE
public static final Environments EE_WEB_PROFILE
public static final Environments SERVLET
public static final Environments SE
Method Detail |
---|
public static Environments[] values()
for (Environments c : Environments.values()) System.out.println(c);
public static Environments valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.util.Set<java.lang.Class<? extends Service>> getRequiredServices()
Environment
getRequiredServices
in interface Environment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |