|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.server.MetaObjectManager
A static class used for accessing meta-objects.
This class contains references to all Business Componenents for Java meta-objects. These classes are loaded from XML through JNDI calls to the appropriate context, and are also loaded at runtime from jboserver.properties.
Method Summary | |
static void |
createSharedDataHandle()
|
static javax.naming.Context |
getContext()
Gets the context, an instance of the context factory. |
static java.util.Hashtable |
getMetaObjects()
Get the Hashtable for the metaobjects |
static oracle.jbo.server.xml.JboXMLDoc |
getParser()
Gets the XML parser. |
static java.util.Properties |
getServerProperties()
Gets the server properties loaded from oracle.jbo.server.jboserver.properties. |
static SharedHandle |
getSharedHandle()
Get the Shared Handle |
static java.lang.String |
getSharedHandleName()
Get the Shared handle name |
static boolean |
getSharedHandleStatus()
Get the Shared Handle Status |
static java.util.Hashtable |
getXMLMetaObjects()
Get the Hashtable for the XML JBOElements |
static boolean |
isLazyLoading()
Gets the value of the JSP lazy loading flag. |
static oracle.jbo.server.xml.JboElementImpl |
loadBaseElement(java.lang.String metaObjectName)
|
static void |
loadContext(java.lang.String cusContextFactory,
java.lang.String initContext)
Allows the application to change the context factory and default context at runtime. |
static java.lang.Object |
loadFromSharedDataHandle(java.lang.String metaObjectName)
Returns the def object from HashTable |
static oracle.jbo.server.DefObject |
loadFromXML(java.lang.String tmpXMLFileName,
oracle.jbo.server.xml.JboElementImpl elem,
java.lang.String objType)
Loads the XML metadata stream and returns a Def Object |
static oracle.jbo.server.PackageDefImpl |
loadProject(java.lang.String projectName)
Finds the named package definition from the statically maintained list of meta-objects. |
static java.lang.Object |
loadXMLFromSharedDataHandle(java.lang.String metaObjectName)
Returns the JBOElementImpl object from HashTable |
static void |
reportVMProperties()
Diagnostic method which reports some useful VM properties throught the diagnostic stream |
static void |
set8iProjectSub(java.lang.String projectName)
|
static void |
setContextImpl(javax.naming.Context jndiContext)
Set the JNDI context through API Call |
static void |
setLazyLoading(boolean lazyLoading)
Sets the value of the JSP lazy loading flag. |
static void |
setProperty(java.lang.String propname,
java.lang.String propval)
|
static void |
setSharedHandleName(java.lang.String handleName)
Set the Shared handle name, App module calls this function for the metaobjects |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static oracle.jbo.server.xml.JboXMLDoc getParser()
public static java.util.Hashtable getMetaObjects()
public static java.util.Hashtable getXMLMetaObjects()
public static void setSharedHandleName(java.lang.String handleName)
public static void set8iProjectSub(java.lang.String projectName)
public static void setContextImpl(javax.naming.Context jndiContext)
Context
- Initial Context Implpublic static java.lang.String getSharedHandleName()
public static boolean getSharedHandleStatus()
public static SharedHandle getSharedHandle()
public static void setProperty(java.lang.String propname, java.lang.String propval)
public static boolean isLazyLoading()
public static void setLazyLoading(boolean lazyLoading)
lazyLoading
- the new value of the lazy loading flag.public static oracle.jbo.server.DefObject loadFromXML(java.lang.String tmpXMLFileName, oracle.jbo.server.xml.JboElementImpl elem, java.lang.String objType)
JboElementImpl
- XMLStreamobjType
- Object type Tagpublic static oracle.jbo.server.PackageDefImpl loadProject(java.lang.String projectName)
projectName
- the fully-qualified name of the package.public static java.lang.Object loadFromSharedDataHandle(java.lang.String metaObjectName)
public static java.lang.Object loadXMLFromSharedDataHandle(java.lang.String metaObjectName)
public static void loadContext(java.lang.String cusContextFactory, java.lang.String initContext)
cusContextFactory
- the name of the new custom context factory.
if null the default is restored.initContext
- the name of the new default context.
if null the default is restored.public static javax.naming.Context getContext()
public static java.util.Properties getServerProperties()
public static oracle.jbo.server.xml.JboElementImpl loadBaseElement(java.lang.String metaObjectName)
public static void createSharedDataHandle() throws javax.naming.NamingException
public static void reportVMProperties()
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |