|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.common.JboEnvUtil
Internal: Applications should not use this class.
Field Summary | |
static java.lang.String |
APPLICATION_NAME
|
static java.lang.String |
DEFAULT_APPLICATION_NAME
|
static int |
DEFAULT_CONNECTION_MODE
|
static java.lang.String |
DEFAULT_ORACLE_SID
|
static boolean |
DEFAULT_USE_CLIENT_SERVICE
|
static java.lang.String |
IAS_EM_DIAGNOSTIC_DELIM
|
static java.lang.String |
JVM_ID
|
static int |
NULL_CONNECTION_MODE
|
static java.lang.String |
ORACLE_SID
|
static java.lang.String |
SESSION_ID
|
static java.lang.String |
USE_CLIENT_SERVICE
|
Constructor Summary | |
JboEnvUtil()
|
Method Summary | |
static void |
checkJServerPermissions()
this method checks that getProperties can be executed. |
static java.util.Vector |
convertArrayListToVector(com.sun.java.util.collections.ArrayList al)
|
static java.util.Hashtable |
convertHashMapToHashTable(com.sun.java.util.collections.HashMap al)
|
static com.sun.java.util.collections.HashMap |
convertHashTableToHashMap(java.util.Hashtable al)
|
static com.sun.java.util.collections.ArrayList |
convertVectorToArrayList(java.util.Vector al)
|
static java.applet.Applet |
getApplet(java.util.Hashtable env)
return the applet pointer or null |
static java.lang.String |
getApplicationName(java.util.Hashtable env)
|
static java.lang.String |
getApplicationPath(java.util.Hashtable env)
|
static java.lang.String |
getBC4JTempDir(ApplicationModule am)
|
static int |
getConnectionMode(java.util.Hashtable env)
|
static int |
getConnectionPort(java.util.Hashtable env)
|
static java.lang.String |
getDefaultHost()
|
static java.lang.String |
getDefaultRuntimeId()
|
static java.lang.String |
getDefaultSessionId()
|
static java.lang.String |
getDeployPlatform(java.util.Hashtable env)
|
static java.lang.String |
getHostName(java.util.Hashtable env)
|
static java.lang.Integer |
getInteger(java.lang.Object obj)
|
static java.lang.String |
getOracleSid(java.util.Hashtable env)
|
static java.lang.String |
getProperty(java.lang.String propName)
get a property, defauting to null |
static java.lang.String |
getProperty(java.lang.String propName,
java.lang.String defValue)
|
static boolean |
getPropertyAsBoolean(java.lang.String propName,
boolean dflt)
|
static int |
getPropertyAsInt(java.lang.String prop,
int dflt)
|
static java.lang.String |
getRuntimeId(java.util.Hashtable env)
|
static java.lang.String |
getSessionId(java.util.Hashtable env)
|
static boolean |
getUseClientService(java.util.Hashtable env)
|
static boolean |
inJava12()
|
static boolean |
inJServer()
|
static boolean |
inOC4J()
|
static boolean |
isApplet()
are we executing in a protected |
static boolean |
isAuthenticateUser(java.util.Hashtable env)
|
static boolean |
isCheckPermission(java.util.Hashtable env)
|
static boolean |
isClient(java.util.Hashtable env)
|
static boolean |
isEmptyString(java.lang.String str)
|
static boolean |
isSameHost(java.util.Hashtable env)
public static void getPropertiesFromSessionInfo(SessionInfo info, Hashtable env) { if (info.ConnectionMode != NULL_CONNECTION_MODE) { env.put(CONNECTION_MODE, new Integer(info.ConnectionMode)); } if (!isEmptyString(info.SessionId)) { env.put(SESSION_ID, info.SessionId); } } |
static boolean |
isSameVM(java.util.Hashtable env)
|
static boolean |
isUserAuthenticated(java.util.Hashtable env)
|
static boolean |
isUsing32IDE()
|
static java.util.Iterator |
javaIterator(com.sun.java.util.collections.Iterator sunIter)
|
static void |
setSizeInArrayList(com.sun.java.util.collections.ArrayList al,
int newSize)
|
static void |
setSizeInArrayList(java.util.ArrayList al,
int newSize)
|
static void |
setSystemProperty(java.lang.String prop,
java.lang.String val)
|
static boolean |
useDefaultContext(java.util.Hashtable env)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String USE_CLIENT_SERVICE
public static java.lang.String APPLICATION_NAME
public static java.lang.String JVM_ID
public static java.lang.String ORACLE_SID
public static java.lang.String IAS_EM_DIAGNOSTIC_DELIM
public static int DEFAULT_CONNECTION_MODE
public static int NULL_CONNECTION_MODE
public static boolean DEFAULT_USE_CLIENT_SERVICE
public static java.lang.String DEFAULT_APPLICATION_NAME
public static java.lang.String DEFAULT_ORACLE_SID
public static java.lang.String SESSION_ID
Constructor Detail |
public JboEnvUtil()
Method Detail |
public static java.lang.String getDeployPlatform(java.util.Hashtable env)
public static boolean isClient(java.util.Hashtable env)
public static boolean isApplet()
public static java.lang.String getProperty(java.lang.String propName)
public static java.lang.String getProperty(java.lang.String propName, java.lang.String defValue)
public static boolean getPropertyAsBoolean(java.lang.String propName, boolean dflt)
public static int getPropertyAsInt(java.lang.String prop, int dflt)
public static void setSystemProperty(java.lang.String prop, java.lang.String val)
public static java.lang.String getDefaultHost()
public static java.lang.String getHostName(java.util.Hashtable env)
public static java.lang.String getDefaultRuntimeId()
public static java.lang.String getRuntimeId(java.util.Hashtable env)
public static int getConnectionMode(java.util.Hashtable env)
public static java.lang.String getDefaultSessionId()
public static java.lang.String getSessionId(java.util.Hashtable env)
public static boolean getUseClientService(java.util.Hashtable env)
public static int getConnectionPort(java.util.Hashtable env)
public static java.lang.String getApplicationName(java.util.Hashtable env)
public static boolean isSameHost(java.util.Hashtable env)
public static boolean isSameVM(java.util.Hashtable env)
public static java.applet.Applet getApplet(java.util.Hashtable env)
public static java.lang.String getApplicationPath(java.util.Hashtable env)
public static java.lang.String getOracleSid(java.util.Hashtable env)
public static boolean inJServer()
public static boolean inOC4J()
public static boolean isEmptyString(java.lang.String str)
public static java.lang.Integer getInteger(java.lang.Object obj)
public static boolean inJava12()
public static void checkJServerPermissions()
public static java.util.Vector convertArrayListToVector(com.sun.java.util.collections.ArrayList al)
public static com.sun.java.util.collections.ArrayList convertVectorToArrayList(java.util.Vector al)
public static java.util.Hashtable convertHashMapToHashTable(com.sun.java.util.collections.HashMap al)
public static com.sun.java.util.collections.HashMap convertHashTableToHashMap(java.util.Hashtable al)
public static java.util.Iterator javaIterator(com.sun.java.util.collections.Iterator sunIter)
public static void setSizeInArrayList(com.sun.java.util.collections.ArrayList al, int newSize)
public static void setSizeInArrayList(java.util.ArrayList al, int newSize)
public static boolean isUsing32IDE()
public static boolean useDefaultContext(java.util.Hashtable env)
public static boolean isAuthenticateUser(java.util.Hashtable env)
public static boolean isUserAuthenticated(java.util.Hashtable env)
public static boolean isCheckPermission(java.util.Hashtable env)
public static java.lang.String getBC4JTempDir(ApplicationModule am)
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.