oracle.jbo.html.jsp
Class JSPApplicationRegistry
java.lang.Object
|
+--oracle.jdeveloper.html.WebBeanImpl
|
+--oracle.jbo.html.jsp.JSPApplicationRegistry
- public class JSPApplicationRegistry
- extends WebBeanImpl
This class provides the main interface for DataWebBeans to use the Application Module Pool.
View implementation of JSPApplicationRegistry
- Version:
- PUBLIC
Methods inherited from class oracle.jdeveloper.html.WebBeanImpl |
generateScriptSrc,
getCookie,
getOut,
getRenderingContext,
getRequest,
getRequestVariable,
getUniqueName,
initBeanForJS,
initialize,
initialize,
initialize,
internalInitialize,
render,
render,
setRequestVariable |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
JSPApplicationRegistry
public JSPApplicationRegistry()
- Constructor, this should not be called directly
getInstance
public static JSPApplicationRegistry getInstance()
- Returns the singleton instance of the registry class.
getAppSettings
public static java.util.Hashtable getAppSettings(java.lang.String sAppName)
- Returns the user data associated with the named pool. The user data is a convenient palce for storing
and retrieving application-specific information shared by all application instances that are part of the
named pool.
returnAppModuleInstance
public static void returnAppModuleInstance(java.lang.String AppName,
ApplicationModule am)
- This is a convenience method for returning an Application Module back to the pool. This method
will find the ApplicationInstance associated with the Application Module and check it in to the pool.
getApplication
public static ApplicationModule getApplication(java.lang.String AppName)
throws java.lang.Exception
- Locates the application pool and check out a new application module. You can use the
returnAppModuleInstance() method to return the Application Module back to the pool.
registerApplicationFromPropertyFile
public static void registerApplicationFromPropertyFile(javax.servlet.http.HttpSession session,
java.lang.String sPropFileName)
- Convenience method for defining a new application pool from a property file. This also transfers some system
specific variables to the JSP Session object.
registerApplicationFromPropertyFile
public static void registerApplicationFromPropertyFile(java.lang.String sPropFileName)
- Creates a new application pool from the contents of a property file. Please look at the ConnectionInfo class
for documentation of what should be contained in the property file.