|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
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.uicli.mom.JUMetaObjectManager
public class JUMetaObjectManager
Field Summary | |
---|---|
static JUMetaObjectManager |
mom |
Fields inherited from class oracle.jbo.mom.DefinitionManager |
---|
mbValidateName, mContext, mLazyLoading, mSubstituteStat |
Fields inherited from interface oracle.jbo.uicli.mom.JUMetaObjectBase |
---|
TYP_APPLICATION, TYP_CONTROL_BINDING, TYP_DEF_APPLICATION, TYP_DEF_CONTROL_BINDING, TYP_DEF_DATACONTROL, TYP_DEF_DATACONTROL_CONFIG, TYP_DEF_FORM_BINDING, TYP_DEF_ITER_BINDING, TYP_DEF_SESSION, TYP_FORM_BINDING, TYP_ITER_BINDING, TYP_SESSION |
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 ContainerDefImpl |
createContainerDefObject(boolean topLevel) |
PersistableDefObject |
createFromXML(int defScope, java.lang.String fullName, java.lang.String metaObjectName, DefElement elem) Deprecated. |
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) |
static JUApplicationDefImpl |
findCpx(java.lang.String sResource) |
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 <appDefName>.<sessDefName>. |
DefinitionFactory |
getControlDefFactory() |
static java.lang.String |
getCurrentlyLoadingCpx() |
DefinitionFactory |
getDefinitionFactory(java.lang.String sNameSpace) Returns the factory mapped to the provided namespace. |
protected java.lang.String |
getDynamicPackageName() |
protected java.util.HashMap |
getFactoryMap() |
static JUMetaObjectManager |
getJUMom() |
static DefXMLParser |
getParser() Deprecated. since 10.1.3. See DefinitionManager.getJboXMLDoc() . |
protected java.lang.String |
getProjectFileExtension() |
java.lang.String[] |
getXMLVersionArray() |
protected void |
initManager() |
void |
invalidateBindingContainerDef(BindingContext ctx, java.lang.String defName) Internal: Applications should not use this class. |
DCBindingContainerReference |
loadBindingContainerRef(BindingContext ctx, Node node) |
static DCBindingContainerReference |
loadBindingContainerRef(DefElement xmlElement) |
static void |
loadCpx(java.lang.String sResource, java.util.Map userParams) |
DefinitionObject |
loadFromXML(java.lang.String metaObjectName, DefElement elem, java.lang.String objType) Loads the XML metadata stream and returns a Def Object |
protected java.lang.Object |
loadLazyFromSharedObject(java.lang.String metaObjectName, ContainerDefImpl parent, boolean loadParent, boolean sub) |
protected java.lang.Object |
loadSpecialObjects(DefElement elem, java.lang.String metaObjectName, java.lang.String objType) |
void |
registerDefinitionFactory(java.lang.String sNameSpace, DefinitionFactory factory) Registers a binding factory and associates it with the provided namespace. |
void |
registerDynamicBindingContainerDef(DefinitionObject def) |
void |
registerStructureDef(DefinitionObject def) |
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. |
void |
releaseBindingContext() This method is used to release the binding context in a DT@RT scenario where the Definition needs to be cleared. |
void |
releaseStructureDef(java.lang.String name) Only clears out the structure def entry from MOM. |
void |
removeDefinitionFactory(java.lang.String sNameSpace) Removed the factory associated with the provided namespace. |
java.lang.Object |
removePersDefObject(java.lang.String defObjName) |
java.lang.Object |
removeSessionDefObject(java.lang.String defObjName) |
static void |
reportException(DCBindingContainer formBnd, java.lang.Exception ex) |
static void |
reportException(JUFormBinding formBnd, java.lang.Exception ex) |
static void |
reportException(JUFormBinding formBnd, java.lang.Exception ex, boolean reportExceptionNow) |
static JUApplicationDefImpl |
setApplicationDefinition(java.io.InputStream is, java.lang.String appDefName) Deprecated. since 10.1.3. Use setApplicationDefinition(String) instead, if possible. |
static JUApplicationDefImpl |
setApplicationDefinition(java.io.Reader reader, java.lang.String appDefName) Deprecated. since 10.1.3. Use setApplicationDefinition(String) instead, if possible. |
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(DefinitionFactory factory) |
static void |
setErrorHandler(DCErrorHandler baseErrorHandler) |
void |
setJClientDefFactory(DefinitionFactory factory) Internal: Applications should not use this class. |
protected boolean |
usesMDSByDefault() Return an indication as to whether this DefinitionManager instance should use MDS if the application's adf-config.xml does not explicitly indicate true or false. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static JUMetaObjectManager mom
Constructor Detail |
---|
protected JUMetaObjectManager()
Method Detail |
---|
public void setJClientDefFactory(DefinitionFactory factory)
public static void setControlDefFactory(DefinitionFactory factory)
public DefinitionFactory getControlDefFactory()
public static void setBaseErrorHandler(JUErrorHandler baseErrorHandler)
public static void setErrorHandler(DCErrorHandler baseErrorHandler)
public static void reportException(DCBindingContainer formBnd, java.lang.Exception ex)
public static void reportException(JUFormBinding formBnd, java.lang.Exception ex)
public static void reportException(JUFormBinding formBnd, java.lang.Exception ex, boolean reportExceptionNow)
public static JUApplicationDefImpl setApplicationDefinition(java.io.InputStream is, java.lang.String appDefName)
setApplicationDefinition(String)
instead, if possible.public static JUApplicationDefImpl setApplicationDefinition(java.io.Reader reader, java.lang.String appDefName)
setApplicationDefinition(String)
instead, if possible.public static JUApplicationDefImpl setApplicationDefinition(java.lang.String appDefName)
public JUApplicationDefImpl createApplicationDefinition(java.lang.String name)
public static JUMetaObjectManager getJUMom()
public static DefXMLParser getParser()
DefinitionManager.getJboXMLDoc()
.public java.lang.String[] getXMLVersionArray()
getXMLVersionArray
in class DefinitionManager
protected java.lang.String getDynamicPackageName()
getDynamicPackageName
in class DefinitionManager
protected java.lang.String getProjectFileExtension()
getProjectFileExtension
in class DefinitionManager
public static java.lang.String getClientProjectExtension()
protected ContainerDefImpl createContainerDefObject(boolean topLevel)
createContainerDefObject
in class DefinitionManager
protected java.lang.Object loadSpecialObjects(DefElement elem, java.lang.String metaObjectName, java.lang.String objType)
loadSpecialObjects
in class DefinitionManager
protected java.lang.Object loadLazyFromSharedObject(java.lang.String metaObjectName, ContainerDefImpl parent, boolean loadParent, boolean sub)
loadLazyFromSharedObject
in class DefinitionManager
public static JUApplication findApplicationObject(java.lang.String qualifiedAMName)
public static void setApplicationObject(java.lang.String qualifiedName, ApplicationModule am)
public static void releaseApplicationObject(DCDataControl app)
public static JUApplication createApplicationObject(java.lang.String qualifiedAMName)
public static JUApplication createApplicationObject(java.lang.String qualifiedAMName, java.util.Properties env)
public static java.lang.String getConfigName(java.lang.String qualifiedAMName)
public DCBindingContainerReference loadBindingContainerRef(BindingContext ctx, Node node)
public static DCBindingContainerReference loadBindingContainerRef(DefElement xmlElement)
public static java.lang.String getCurrentlyLoadingCpx()
public static JUApplicationDefImpl findCpx(java.lang.String sResource)
sResource
- the name to be loaded, ex: "view.DataBindings.cpx"public static void loadCpx(java.lang.String sResource, java.util.Map userParams)
public static JUApplication createApplicationObject(java.lang.String qualifiedAMName, java.util.Properties env, EnvInfoProvider envInfo)
public BindingContext getBindingContext()
public void addApplication(DCDataControl app)
public static ApplicationPool createPool(java.lang.String qualifiedAMName)
public static ApplicationPool createPool(java.lang.String qualifiedAMName, java.util.Properties env)
protected java.util.HashMap getFactoryMap()
public void registerDefinitionFactory(java.lang.String sNameSpace, DefinitionFactory factory)
public DefinitionFactory getDefinitionFactory(java.lang.String sNameSpace)
public void removeDefinitionFactory(java.lang.String sNameSpace)
public DefinitionObject loadFromXML(java.lang.String metaObjectName, DefElement elem, java.lang.String objType)
loadFromXML
in class DefinitionManager
metaObjectName
- name of the metaobject, for diagnostic purposes.elem
- an XML Stream as a DefElement object.objType
- object type Tag.protected boolean usesMDSByDefault()
DefinitionManager
DefinitionManager
instance should use MDS if the application's adf-config.xml does not explicitly indicate true or false. This default value is obtained from a JVM-wide BC4J property. (Actually, that's not currently true for JUMetaObjectManager - see comments in JUMetaObjectManager.usesMDSByDefault()).usesMDSByDefault
in class DefinitionManager
public void invalidateBindingContainerDef(BindingContext ctx, java.lang.String defName)
public void releaseBindingContext()
protected void initManager()
initManager
in class DefinitionManager
public java.lang.Object removePersDefObject(java.lang.String defObjName)
removePersDefObject
in class DefinitionManager
public java.lang.Object removeSessionDefObject(java.lang.String defObjName)
removeSessionDefObject
in class DefinitionManager
public void registerStructureDef(DefinitionObject def)
public void registerDynamicBindingContainerDef(DefinitionObject def)
public void releaseStructureDef(java.lang.String name)
public PersistableDefObject createFromXML(int defScope, java.lang.String fullName, java.lang.String metaObjectName, DefElement elem)
createFromXML
in class DefinitionManager
defScope
-fullName
-metaObjectName
-elem
-
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |