Package org.ofbiz.core.entity.config
Class EntityConfigUtil
java.lang.Object
org.ofbiz.core.entity.config.EntityConfigUtil
Misc. utility method for dealing with the entityengine.xml file
- Since:
- 2.0
- Version:
- $Revision: 1.7 $
- Author:
- David E. Jones, Andy Zeneski
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,DatasourceInfo> protected Map<String,EntityConfigUtil.DelegatorInfo> static final Stringprotected Map<String,EntityConfigUtil.EntityEcaReaderInfo> protected Map<String,EntityConfigUtil.EntityGroupReaderInfo> protected Map<String,EntityConfigUtil.EntityModelReaderInfo> protected Map<String,EntityConfigUtil.FieldTypeInfo> protected Map<String,EntityConfigUtil.ResourceLoaderInfo> protected Stringprotected Stringprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDatasourceInfo(DatasourceInfo datasourceInfo) voidaddDelegatorInfo(EntityConfigUtil.DelegatorInfo delegatorInfo) getDatasourceInfo(String name) getDelegatorInfo(String name) getEntityEcaReaderInfo(String name) getFieldTypeInfo(String name) static EntityConfigUtilgetResourceLoaderInfo(String name) protected Documentprotected Elementvoidinitialize(Element rootElement) voidvoidremoveDatasource(String helperName) voidremoveDelegator(String delegatorName)
-
Field Details
-
ENTITY_ENGINE_XML_FILENAME
- See Also:
-
txFactoryClass
-
txFactoryUserTxJndiName
-
txFactoryUserTxJndiServerName
-
txFactoryTxMgrJndiName
-
txFactoryTxMgrJndiServerName
-
resourceLoaderInfos
-
delegatorInfos
-
entityModelReaderInfos
-
entityGroupReaderInfos
-
entityEcaReaderInfos
-
fieldTypeInfos
-
datasourceInfos
-
-
Constructor Details
-
EntityConfigUtil
public EntityConfigUtil() -
EntityConfigUtil
-
-
Method Details
-
getInstance
-
getXmlRootElement
- Throws:
GenericEntityConfException
-
getXmlDocument
- Throws:
GenericEntityConfException
-
reinitialize
- Throws:
GenericEntityException
-
removeDatasource
-
addDatasourceInfo
-
removeDelegator
-
addDelegatorInfo
-
initialize
- Throws:
GenericEntityException
-
getTxFactoryClass
-
getTxFactoryUserTxJndiName
-
getTxFactoryUserTxJndiServerName
-
getTxFactoryTxMgrJndiName
-
getTxFactoryTxMgrJndiServerName
-
getResourceLoaderInfo
-
getDelegatorInfo
-
getEntityModelReaderInfo
-
getEntityGroupReaderInfo
-
getEntityEcaReaderInfo
-
getFieldTypeInfo
-
getDatasourceInfo
-