|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.common.Env
This class manages global variables and properties used by EJB Server. A static design pattern is used.
Field Summary | |
static int |
JAVA_1_1_6
|
static int |
JAVA_1_1_7
|
static int |
JAVA_1_1_8
|
static int |
JAVA_1_2
|
static int |
JAVA_1_3
|
static int |
JAVA_1_4
|
static int |
orb
|
static int |
ORB_DAVID
|
static int |
ORB_JEREMIE
|
static int |
ORB_RMI
possible OBJECTWEB_ORB values. |
Constructor Summary | |
Env()
|
Method Summary | |
static int |
getJavaVersion()
Gets Java Version. |
static boolean |
isDavid()
Return true if orb is David RMI |
static boolean |
isJAVA2()
return true if JDK 1.2 or later |
static boolean |
isJAVA4()
return true if JDK 1.4 or later |
static boolean |
isJeremie()
Return true if orb is RMI over Jeremie |
static boolean |
isOsWindows()
Return true if the os.name starts with "Windows" |
static boolean |
isSunRMI()
Return true if orb is Sun RMI over JRMP |
static void |
setOrb(java.lang.String ow_orb)
set the orb value this is called today by GenIC since it does not get property "objectweb.orb" |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int JAVA_1_1_6
public static final int JAVA_1_1_7
public static final int JAVA_1_1_8
public static final int JAVA_1_2
public static final int JAVA_1_3
public static final int JAVA_1_4
public static final int ORB_RMI
public static final int ORB_JEREMIE
public static final int ORB_DAVID
public static int orb
Constructor Detail |
public Env()
Method Detail |
public static void setOrb(java.lang.String ow_orb)
public static boolean isOsWindows()
public static int getJavaVersion()
public static boolean isJAVA2()
public static boolean isJAVA4()
public static boolean isSunRMI()
public static boolean isJeremie()
public static boolean isDavid()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |