|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.util.XSystem
public class XSystem
Global utilities about the system.
| Constructor Summary | |
|---|---|
XSystem()
|
|
| Method Summary | |
|---|---|
static void |
_setLogLevelFromJavaLoggingLevelOfXavaPreferences()
|
static void |
_setOnServer()
Does that onServer returns true. |
static java.lang.String |
getEncoding()
To use for XML encoding and for web requests and responses encoding. |
static boolean |
onClient()
If we are in a client: java application, applet, servlet, jsp, etc. |
static boolean |
onServer()
If we are in a EJB server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XSystem()
| Method Detail |
|---|
public static void _setOnServer()
onServer returns true.
Must to be called from a static block in a common base class of EJB, or
in all EJB is there aren't base class.
public static boolean onClient()
public static boolean onServer()
public static void _setLogLevelFromJavaLoggingLevelOfXavaPreferences()
public static java.lang.String getEncoding()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||