|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Context>
org.ow2.bonita.facade.Context
public enum Context
| Enum Constant Summary | |
|---|---|
AutoDetect
Auto detect the actual context. |
|
EJB2
EJB2 J2EE5 context. |
|
EJB3
EJB3 J2EE5 context. |
|
Standard
Standard J2SE context. |
|
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_KEY
This key is used internally for the binding. |
protected static java.util.logging.Logger |
LOG
|
| Method Summary | |
|---|---|
static Context |
autoDetect()
|
static Context |
getFromEnvironment()
|
static Context |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Context[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Context AutoDetect
public static final Context Standard
public static final Context EJB3
public static final Context EJB2
| Field Detail |
|---|
public static final java.lang.String DEFAULT_KEY
protected static final java.util.logging.Logger LOG
| Method Detail |
|---|
public static final Context[] values()
for(Context c : Context.values())
System.out.println(c);
public static Context 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 namepublic static Context autoDetect()
public static Context getFromEnvironment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||