|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
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
public class 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 |
Method Summary | |
---|---|
protected ContainerDefImpl |
createContainerDefObject(boolean topLevel)
|
static void |
createSharedDataHandle()
|
static ApplicationModule |
findApplicationModule(java.lang.String name,
ApplicationModuleImpl am)
Finds the application module instance |
static java.lang.Object |
findMetaObject(java.lang.String metaObjectName,
int exId,
java.lang.Class claz,
boolean sub)
|
static java.lang.Object |
findPersMetaObject(java.lang.String metaObjectName,
int exId,
java.lang.Class claz,
boolean sub)
|
static java.lang.Object |
findSessionMetaObject(java.lang.String metaObjectName,
int exId,
java.lang.Class claz,
boolean sub)
|
static java.lang.String[] |
getAllMetaNames(java.lang.Class defClass)
|
java.util.ArrayList |
getCustomMessageBundlesList()
|
protected java.lang.String |
getDynamicPackageName()
|
static java.lang.String |
getLatestXMLVersion()
|
static DefXMLParser |
getParser()
Deprecated. since 10.1.3. See DefinitionManager.getJboXMLDoc() . |
protected ContainerDefImpl |
getProjectDef()
|
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()
|
ValidatorFactory |
getValidatorFactory(java.lang.String nameSpace)
|
java.lang.Long |
getVersionTimestamp()
|
java.lang.String[] |
getXMLVersionArray()
|
protected void |
initManager()
|
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 metaobject into the MOM cache. |
static void |
insertPersMetaObject(java.lang.String metaObjectName,
java.lang.Object metaObject)
|
static void |
insertSessionMetaObject(java.lang.String metaObjectName,
java.lang.Object metaObject)
|
static boolean |
isLazyLoading()
Gets the value of the JSP lazy loading flag. |
static DefElement |
loadBaseElement(java.lang.String metaObjectName)
|
static java.lang.Object |
loadFromSharedDataHandle(java.lang.String metaObjectName)
Returns the def object from HashTable |
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)
Main function in MOM to load a object from XMLStream through Shared MetaData |
static PackageDefImpl |
loadProject(java.lang.String projectName)
|
protected java.lang.Object |
loadSpecialObjects(DefElement 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 java.lang.Object |
removePersMetaObject(java.lang.String metaObjectName)
|
static java.lang.Object |
removeSessionMetaObject(java.lang.String metaObjectName)
|
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 |
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 |
Method Detail |
---|
public static MetaObjectManager getSingleton()
public static DefXMLParser getParser()
DefinitionManager.getJboXMLDoc()
.
protected void initManager()
initManager
in class DefinitionManager
public ValidatorFactory getValidatorFactory(java.lang.String nameSpace)
getValidatorFactory
in class DefinitionManager
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 metaobjectmetaObject
- The metaobject itselfpublic static java.lang.Object removeMetaObject(java.lang.String metaObjectName)
metaObjectName
- The fully qualified Name of the Meta Object
public static void insertSessionMetaObject(java.lang.String metaObjectName, java.lang.Object metaObject)
public static void insertPersMetaObject(java.lang.String metaObjectName, java.lang.Object metaObject)
public static java.lang.Object removeSessionMetaObject(java.lang.String metaObjectName)
public static java.lang.Object removePersMetaObject(java.lang.String metaObjectName)
protected java.lang.Object loadLazyFromSharedObject(java.lang.String metaObjectName, ContainerDefImpl parent, boolean loadParent, boolean sub)
loadLazyFromSharedObject
in class DefinitionManager
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.
public static 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 findSessionMetaObject(java.lang.String metaObjectName, int exId, java.lang.Class claz, boolean sub)
public static java.lang.Object findPersMetaObject(java.lang.String metaObjectName, int exId, java.lang.Class claz, boolean sub)
public static java.lang.String[] getAllMetaNames(java.lang.Class defClass)
public static java.lang.Object findMetaObject(java.lang.String metaObjectName, int exId, java.lang.Class claz, boolean sub)
public static DefElement loadBaseElement(java.lang.String metaObjectName)
protected void initSubExtendsPropForProject()
initSubExtendsPropForProject
in class DefinitionManager
public static java.util.Properties getServerProperties()
public static void createSharedDataHandle() throws javax.naming.NamingException
javax.naming.NamingException
protected java.lang.String getDynamicPackageName()
getDynamicPackageName
in class DefinitionManager
protected java.lang.String getProjectFileExtension()
getProjectFileExtension
in class DefinitionManager
protected ContainerDefImpl getProjectDef()
getProjectDef
in class DefinitionManager
protected java.lang.Object loadSpecialObjects(DefElement elem, java.lang.String metaObjectName, java.lang.String objType)
loadSpecialObjects
in class DefinitionManager
protected ContainerDefImpl createContainerDefObject(boolean topLevel)
createContainerDefObject
in class DefinitionManager
public java.lang.String[] getXMLVersionArray()
getXMLVersionArray
in class DefinitionManager
public static java.lang.String getLatestXMLVersion()
public java.util.ArrayList getCustomMessageBundlesList()
public final java.lang.Long getVersionTimestamp()
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 static ApplicationModule findApplicationModule(java.lang.String name, ApplicationModuleImpl am)
name
- The name of the application module instance.am
- The root application module of the current session.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |