|
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.mom.DefinitionManager 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.
Field Summary |
Fields inherited from class oracle.jbo.mom.DefinitionManager |
mbValidateName, mContext, mLazyLoading, mSubstituteStat, xmlDoc |
Method Summary | |
protected oracle.jbo.mom.ContainerDefImpl |
createContainerDefObject(boolean topLevel)
|
static void |
createSharedDataHandle()
|
static java.lang.Object |
findMetaObject(java.lang.String metaObjectName,
int exId,
java.lang.Class claz,
boolean sub)
|
com.sun.java.util.collections.ArrayList |
getCustomMessageBundlesList()
|
static java.lang.String |
getLatestXMLVersion()
|
static oracle.jbo.mom.xml.DefXMLParser |
getParser()
Gets the XML parser. |
protected java.lang.String |
getProjectFileExtension()
|
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 MetaObjectManager |
getSingleton()
|
java.lang.Long |
getVersionTimestamp()
|
java.lang.String[] |
getXMLVersionArray()
|
protected void |
initManager()
Get the Hashtable for the XML JBOElements |
protected void |
initSubExtendsPropForProject()
Set the substitute extends prop for Project For 8i, we treat it differently than other deployments |
static void |
insertMetaObject(java.lang.String metaObjectName,
java.lang.Object metaObject)
Inserts the Meta Object into the statically maintained list of Meta Objects. |
static boolean |
isLazyLoading()
Gets the value of the JSP lazy loading flag. |
static oracle.jbo.mom.xml.DefElementImpl |
loadBaseElement(java.lang.String metaObjectName)
|
static java.lang.Object |
loadFromSharedDataHandle(java.lang.String metaObjectName)
Returns the def object from HashTable |
oracle.jbo.mom.DefinitionObject |
loadFromXML(java.lang.String tmpXMLFileName,
oracle.jbo.mom.xml.DefElementImpl elem,
java.lang.String objType)
Loads the XML metadata stream and returns a Def Object |
protected java.lang.Object |
loadLazyFromSharedObject(java.lang.String metaObjectName,
oracle.jbo.mom.ContainerDefImpl parent,
boolean loadParent,
boolean sub)
Main function in MOM to load a object from XMLStream through Shared MetaData |
static oracle.jbo.server.PackageDefImpl |
loadProject(java.lang.String projectName)
|
protected java.lang.Object |
loadSpecialObjects(oracle.jbo.mom.xml.DefElementImpl elem,
java.lang.String metaObjectName,
java.lang.String objType)
|
static java.lang.Object |
loadXMLFromSharedDataHandle(java.lang.String metaObjectName)
Returns the JBOElementImpl object from HashTable |
static java.lang.Object |
removeMetaObject(java.lang.String metaObjectName)
Removes the Meta Object from the statically maintained list of Meta Objects. |
static void |
set8iProjectSub(java.lang.String projectName)
|
static void |
setLazyLoading(boolean lazyLoading)
Sets the value of the JSP lazy loading flag. |
static void |
setSharedHandleName(java.lang.String handleName)
Set the Shared handle name, App module calls this function for the metaobjects |
Methods inherited from class oracle.jbo.mom.DefinitionManager |
closeStream, dumpMOM, findContainer, findDefinitionObject, findDefinitionObject, findDefinitionObject, findDefinitionObjectDontCheckName, findLoadedObject, findSubstituteName, getContext, getCurrentApplicationMap, getDefinitionObjectsMap, getDynamicObjectsContainer, getJboXMLDoc, getLatestDTDVersion, getLazyLoadProp, getMapLock, getMOMProperties, insertDefinition, is323Compatible, is903Compatible, isLazyLoadingMode, loadBaseXMLElement, loadContext, loadDefElement, loadLazyDefinitionObject, loadProjectDefinition, loadProjectDefinition, loadProjectDefinition, loadProjectDefinition, removeDefinition, reportVMProperties, setContextImpl, setLazyLoadingMode, setNameCheck |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static MetaObjectManager getSingleton()
public static oracle.jbo.mom.xml.DefXMLParser getParser()
protected void initManager()
public static void setSharedHandleName(java.lang.String handleName)
public static void set8iProjectSub(java.lang.String projectName)
public static java.lang.String getSharedHandleName()
public static boolean getSharedHandleStatus()
public static SharedHandle getSharedHandle()
public static boolean isLazyLoading()
public static void setLazyLoading(boolean lazyLoading)
lazyLoading
- the new value of the lazy loading flag.public static void insertMetaObject(java.lang.String metaObjectName, java.lang.Object metaObject)
metaObjectName
- The fully qualified Name of the Meta Objectpublic static java.lang.Object removeMetaObject(java.lang.String metaObjectName)
metaObjectName
- The fully qualified Name of the Meta Object
protected java.lang.Object loadLazyFromSharedObject(java.lang.String metaObjectName, oracle.jbo.mom.ContainerDefImpl parent, boolean loadParent, boolean sub)
public oracle.jbo.mom.DefinitionObject loadFromXML(java.lang.String tmpXMLFileName, oracle.jbo.mom.xml.DefElementImpl elem, java.lang.String objType)
tmpXMLFileName
- name of the temporary XML file.elem
- an XML Stream as a DefElementImpl object.objType
- Object type Tag.
public static oracle.jbo.server.PackageDefImpl loadProject(java.lang.String projectName)
public static java.lang.Object loadFromSharedDataHandle(java.lang.String metaObjectName)
public static java.lang.Object loadXMLFromSharedDataHandle(java.lang.String metaObjectName)
public static java.lang.Object findMetaObject(java.lang.String metaObjectName, int exId, java.lang.Class claz, boolean sub)
public static oracle.jbo.mom.xml.DefElementImpl loadBaseElement(java.lang.String metaObjectName)
protected void initSubExtendsPropForProject()
public static java.util.Properties getServerProperties()
public static void createSharedDataHandle() throws javax.naming.NamingException
javax.naming.NamingException
protected java.lang.String getProjectFileExtension()
protected java.lang.Object loadSpecialObjects(oracle.jbo.mom.xml.DefElementImpl elem, java.lang.String metaObjectName, java.lang.String objType)
protected oracle.jbo.mom.ContainerDefImpl createContainerDefObject(boolean topLevel)
public java.lang.String[] getXMLVersionArray()
public static java.lang.String getLatestXMLVersion()
public com.sun.java.util.collections.ArrayList getCustomMessageBundlesList()
public final java.lang.Long getVersionTimestamp()
|
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.