Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.uicli.mom
Class JUMetaObjectManager

java.lang.Object
  extended byoracle.jbo.mom.DefinitionManager
      extended byoracle.jbo.uicli.mom.JUMetaObjectManager
All Implemented Interfaces:
JUMetaObjectBase, MetaObjectBase

public class JUMetaObjectManager
extends oracle.jbo.mom.DefinitionManager
implements JUMetaObjectBase


Field Summary
static JUMetaObjectManager mom
           
 
Fields inherited from class oracle.jbo.mom.DefinitionManager
mbValidateName, mContext, mLazyLoading, mSubstituteStat, xmlDoc
 
Fields inherited from interface oracle.jbo.uicli.mom.JUMetaObjectBase
TYP_APPLICATION, TYP_CONTROL_BINDING, TYP_DEF_APPLICATION, TYP_DEF_CONTROL_BINDING, TYP_DEF_FORM_BINDING, TYP_DEF_ITER_BINDING, TYP_DEF_SESSION, TYP_FORM_BINDING, TYP_ITER_BINDING, TYP_SESSION
 
Fields inherited from interface oracle.jbo.common.MetaObjectBase
TYP_APP_MODULE, TYP_ATTRIBUTE, TYP_ATTRIBUTE_LIST_WITH_DEF, TYP_COMPONENT_OBJECT, TYP_DEF_ANY, TYP_DEF_APP_MODULE, TYP_DEF_ATTRIBUTE, TYP_DEF_COMPONENT_OBJECT, TYP_DEF_DOMAIN, TYP_DEF_ENTITY_ASSOC, TYP_DEF_ENTITY_OBJECT, TYP_DEF_PACKAGE, TYP_DEF_VIEW_LINK, TYP_DEF_VIEW_OBJECT, TYP_DOMAIN, TYP_ENTITY_ASSOC, TYP_ENTITY_OBJECT, TYP_ENTITY_ROW, TYP_ENTITY_ROW_SET, TYP_ENTITY_ROW_SET_ITERATOR, TYP_ENTITY_USAGE, TYP_PACKAGE, TYP_TRANSACTION, TYP_VALIDATOR_TYPE, TYP_VIEW_LINK, TYP_VIEW_OBJECT, TYP_VIEW_ROW, TYP_VIEW_ROW_SET, TYP_VIEW_ROW_SET_ITERATOR
 
Constructor Summary
protected JUMetaObjectManager()
           
 
Method Summary
 void addApplication(DCDataControl app)
           
 JUApplicationDefImpl createApplicationDefinition(java.lang.String name)
           
static JUApplication createApplicationObject(java.lang.String qualifiedAMName)
           
static JUApplication createApplicationObject(java.lang.String qualifiedAMName, java.util.Properties env)
           
static JUApplication createApplicationObject(java.lang.String qualifiedAMName, java.util.Properties env, EnvInfoProvider envInfo)
           
protected  oracle.jbo.mom.ContainerDefImpl createContainerDefObject(boolean topLevel)
           
static ApplicationPool createPool(java.lang.String qualifiedAMName)
          Deprecated. applications should use oracle.jbo.common.ampool.PoolMgr.findPool directly or should rely upon createApplicationObject to create a pool using the fully qualified ApplicationModule definition name.
static ApplicationPool createPool(java.lang.String qualifiedAMName, java.util.Properties env)
          Deprecated. applications should use oracle.jbo.common.ampool.PoolMgr.findPool directly or should rely upon createApplicationObject to create a pool using the fully qualified ApplicationModule definition name.
static JUApplication findApplicationObject(java.lang.String qualifiedAMName)
           
 BindingContext getBindingContext()
           
static java.lang.String getClientProjectExtension()
           
static java.lang.String getConfigName(java.lang.String qualifiedAMName)
          Returns the configuration name for a qualifiedAMName of the form ..
 DCDefFactory getControlDefFactory()
           
static JUMetaObjectManager getJUMom()
           
static oracle.jbo.mom.xml.DefXMLParser getParser()
          Gets the XML parser.
protected  java.lang.String getProjectFileExtension()
           
 java.lang.String[] getXMLVersionArray()
           
 DCBindingContainerReference loadBindingContainerRef(BindingContext ctx, Node node)
           
static DCBindingContainerReference loadBindingContainerRef(oracle.jbo.mom.xml.DefElementImpl xmlElement)
           
static void loadCpx(java.lang.String sResource, java.util.Map userParams)
           
 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)
           
protected  java.lang.Object loadSpecialObjects(oracle.jbo.mom.xml.DefElementImpl elem, java.lang.String metaObjectName, java.lang.String objType)
           
static void releaseApplicationObject(DCDataControl app)
          Deprecated. since 10.1.2, use DCDataControl.release() instead to release a datacontrol from the bindings as well as from the business service.
static void reportException(DCBindingContainer formBnd, java.lang.Exception ex)
           
static void reportException(JUFormBinding formBnd, java.lang.Exception ex)
           
static JUApplicationDefImpl setApplicationDefinition(java.io.InputStream is, java.lang.String appDefName)
           
static JUApplicationDefImpl setApplicationDefinition(java.io.Reader reader, java.lang.String appDefName)
           
static JUApplicationDefImpl setApplicationDefinition(java.lang.String appDefName)
           
static void setApplicationObject(java.lang.String qualifiedName, ApplicationModule am)
           
static void setBaseErrorHandler(JUErrorHandler baseErrorHandler)
          Deprecated. since 9.0.5.1, Use setErrorHandler instead.
static void setControlDefFactory(DCDefFactory factory)
           
static void setErrorHandler(DCErrorHandler baseErrorHandler)
           
 void setJClientDefFactory(DCDefFactory factory)
          Internal: Applications should not use this class.
 
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, initManager, initSubExtendsPropForProject, 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
 

Field Detail

mom

public static JUMetaObjectManager mom
Constructor Detail

JUMetaObjectManager

protected JUMetaObjectManager()
Method Detail

setJClientDefFactory

public void setJClientDefFactory(DCDefFactory factory)
Internal: Applications should not use this class.


setControlDefFactory

public static void setControlDefFactory(DCDefFactory factory)

getControlDefFactory

public DCDefFactory getControlDefFactory()

setBaseErrorHandler

public static void setBaseErrorHandler(JUErrorHandler baseErrorHandler)
Deprecated. since 9.0.5.1, Use setErrorHandler instead.


setErrorHandler

public static void setErrorHandler(DCErrorHandler baseErrorHandler)

reportException

public static void reportException(DCBindingContainer formBnd,
                                   java.lang.Exception ex)

reportException

public static void reportException(JUFormBinding formBnd,
                                   java.lang.Exception ex)

setApplicationDefinition

public static JUApplicationDefImpl setApplicationDefinition(java.io.InputStream is,
                                                            java.lang.String appDefName)

setApplicationDefinition

public static JUApplicationDefImpl setApplicationDefinition(java.io.Reader reader,
                                                            java.lang.String appDefName)

setApplicationDefinition

public static JUApplicationDefImpl setApplicationDefinition(java.lang.String appDefName)

createApplicationDefinition

public JUApplicationDefImpl createApplicationDefinition(java.lang.String name)

getJUMom

public static JUMetaObjectManager getJUMom()

getParser

public static oracle.jbo.mom.xml.DefXMLParser getParser()
Gets the XML parser.

Returns:
the XMLParser.

loadFromXML

public 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

Parameters:
tmpXMLFileName - name of the temporary XML file.
elem - an XML Stream as a DefElementImpl object.
objType - Object type Tag.
Returns:
a defObject, which is a JBO Object extending DefObject

getXMLVersionArray

public java.lang.String[] getXMLVersionArray()

getProjectFileExtension

protected java.lang.String getProjectFileExtension()

getClientProjectExtension

public static java.lang.String getClientProjectExtension()

createContainerDefObject

protected oracle.jbo.mom.ContainerDefImpl createContainerDefObject(boolean topLevel)

loadSpecialObjects

protected java.lang.Object loadSpecialObjects(oracle.jbo.mom.xml.DefElementImpl elem,
                                              java.lang.String metaObjectName,
                                              java.lang.String objType)

loadLazyFromSharedObject

protected java.lang.Object loadLazyFromSharedObject(java.lang.String metaObjectName,
                                                    oracle.jbo.mom.ContainerDefImpl parent,
                                                    boolean loadParent,
                                                    boolean sub)

findApplicationObject

public static JUApplication findApplicationObject(java.lang.String qualifiedAMName)

setApplicationObject

public static void setApplicationObject(java.lang.String qualifiedName,
                                        ApplicationModule am)

releaseApplicationObject

public static void releaseApplicationObject(DCDataControl app)
Deprecated. since 10.1.2, use DCDataControl.release() instead to release a datacontrol from the bindings as well as from the business service.


createApplicationObject

public static JUApplication createApplicationObject(java.lang.String qualifiedAMName)

createApplicationObject

public static JUApplication createApplicationObject(java.lang.String qualifiedAMName,
                                                    java.util.Properties env)

getConfigName

public static java.lang.String getConfigName(java.lang.String qualifiedAMName)
Returns the configuration name for a qualifiedAMName of the form ..

Returns:
null if the appDef or the sessDef are not found

loadBindingContainerRef

public DCBindingContainerReference loadBindingContainerRef(BindingContext ctx,
                                                           Node node)

loadBindingContainerRef

public static DCBindingContainerReference loadBindingContainerRef(oracle.jbo.mom.xml.DefElementImpl xmlElement)

loadCpx

public static void loadCpx(java.lang.String sResource,
                           java.util.Map userParams)

createApplicationObject

public static JUApplication createApplicationObject(java.lang.String qualifiedAMName,
                                                    java.util.Properties env,
                                                    EnvInfoProvider envInfo)

getBindingContext

public BindingContext getBindingContext()

addApplication

public void addApplication(DCDataControl app)

createPool

public static ApplicationPool createPool(java.lang.String qualifiedAMName)
Deprecated. applications should use oracle.jbo.common.ampool.PoolMgr.findPool directly or should rely upon createApplicationObject to create a pool using the fully qualified ApplicationModule definition name.


createPool

public static ApplicationPool createPool(java.lang.String qualifiedAMName,
                                         java.util.Properties env)
Deprecated. applications should use oracle.jbo.common.ampool.PoolMgr.findPool directly or should rely upon createApplicationObject to create a pool using the fully qualified ApplicationModule definition name.


Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

Copyright © 1997, 2004, Oracle. All rights reserved.