|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.util.J2EEUtils
public final class J2EEUtils
Collection of useful utilities to work with j2ee.
| Field Summary | |
|---|---|
static int |
J2EE_SERVER_JBOSS
Constant defining JBoss j2ee server. |
static int |
J2EE_SERVER_JONAS
Constant defining JOnAS j2ee server. |
static int |
J2EE_SERVER_NO
Constant defining no j2ee server. |
static int |
J2EE_SERVER_UNINITIALIZED
Constant defining j2ee server was not yet detected. |
static int |
J2EE_SERVER_WEBLOGIC
Constant defining WebLogic j2ee server. |
static int |
J2EE_SERVER_WEBSPHERE
Constant defining WebSphere j2ee server. |
static java.lang.String |
JBOSS_IDENTIFIER
Constant identifying JBoss j2ee server. |
static java.lang.String |
JONAS_IDENTIFIER
Constant identifying JOnAS j2ee server. |
protected static int |
s_iDetectedServer
Since J2EE server doesn't changes during execution we can cache the value for detected server. |
static java.lang.String |
WEBLOGIC_IDENTIFIER
Constant identifying WebLogic j2ee server. |
static java.lang.String |
WEBSPHERE_IDENTIFIER
Constant identifying WebSphere j2ee server. |
| Method Summary | |
|---|---|
protected static int |
detectJ2EEServerType(java.lang.String strIdentifier)
Detect current running j2ee server based on the specified string because it is server specific. |
static int |
getJ2EEServerType()
Method detects and returns type of the current running j2ee server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int J2EE_SERVER_UNINITIALIZED
public static final int J2EE_SERVER_NO
public static final int J2EE_SERVER_JONAS
public static final int J2EE_SERVER_JBOSS
public static final int J2EE_SERVER_WEBLOGIC
public static final int J2EE_SERVER_WEBSPHERE
public static final java.lang.String JONAS_IDENTIFIER
public static final java.lang.String JBOSS_IDENTIFIER
public static final java.lang.String WEBLOGIC_IDENTIFIER
public static final java.lang.String WEBSPHERE_IDENTIFIER
protected static int s_iDetectedServer
| Method Detail |
|---|
public static int getJ2EEServerType()
protected static int detectJ2EEServerType(java.lang.String strIdentifier)
strIdentifier - - string which should uniquely identify the AS
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||