Class EntityConfig
java.lang.Object
org.apache.ofbiz.entity.config.model.EntityConfig
A singleton class that models the
<entity-config>
element.- See Also:
-
entity-config.xsd
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
createConfigFileLineNumberText
(Element element) Returns the<connection-factory>
child element, ornull
if no child element was found.static Datasource
getDatasource
(String name) Returns the specified<datasource>
child element ornull
if it does not exist.Returns the<datasource>
child elements.Returns the<datasource>
child elements as aMap
.Returns the<debug-xa-resources>
child element, ornull
if no child element was found.getDelegator
(String name) Returns the specified<delegator>
child element, ornull
if no child element was found.Returns the<delegator>
child elements.getEntityDataReader
(String name) Returns the specified<entity-data-reader>
child element, ornull
if no child element was found.Returns the<entity-data-reader>
child elements.getEntityEcaReader
(String name) Returns the specified<entity-eca-reader>
child element, ornull
if no child element was found.Returns the<entity-eca-reader>
child elements.getEntityGroupReader
(String name) Returns the specified<entity-group-reader>
child element, ornull
if no child element was found.Returns the<entity-group-reader>
child elements.getEntityModelReader
(String name) Returns the specified<entity-model-reader>
child element, ornull
if no child element was found.Returns the<entity-model-reader>
child elements.getFieldType
(String name) Returns the specified<field-type>
child element, ornull
if no child element was found.Returns the<field-type>
child elements.static EntityConfig
static String
getJdbcPassword
(InlineJdbc inlineJdbcElement) Returns the configured JDBC password.getResourceLoader
(String name) Returns the specified<resource-loader>
child element, ornull
if no child element was found.Returns the<resource-loader>
child elements.Returns the<transaction-factory>
child element, ornull
if no child element was found.
-
Field Details
-
ENTITY_ENGINE_XML_FILENAME
- See Also:
-
-
Method Details
-
getInstance
- Throws:
GenericEntityConfException
-
createConfigFileLineNumberText
-
getResourceLoader
Returns the specified<resource-loader>
child element, ornull
if no child element was found. -
getResourceLoaderList
Returns the<resource-loader>
child elements. -
getTransactionFactory
Returns the<transaction-factory>
child element, ornull
if no child element was found. -
getConnectionFactory
Returns the<connection-factory>
child element, ornull
if no child element was found. -
getDebugXaResources
Returns the<debug-xa-resources>
child element, ornull
if no child element was found. -
getDelegator
Returns the specified<delegator>
child element, ornull
if no child element was found. -
getDelegatorList
Returns the<delegator>
child elements. -
getEntityModelReader
Returns the specified<entity-model-reader>
child element, ornull
if no child element was found. -
getEntityModelReaderList
Returns the<entity-model-reader>
child elements. -
getEntityGroupReader
Returns the specified<entity-group-reader>
child element, ornull
if no child element was found. -
getEntityGroupReaderList
Returns the<entity-group-reader>
child elements. -
getEntityEcaReader
Returns the specified<entity-eca-reader>
child element, ornull
if no child element was found. -
getEntityEcaReaderList
Returns the<entity-eca-reader>
child elements. -
getEntityDataReader
Returns the specified<entity-data-reader>
child element, ornull
if no child element was found. -
getEntityDataReaderList
Returns the<entity-data-reader>
child elements. -
getFieldType
Returns the specified<field-type>
child element, ornull
if no child element was found. -
getFieldTypeList
Returns the<field-type>
child elements. -
getDatasourceList
Returns the<datasource>
child elements. -
getDatasource
Returns the specified<datasource>
child element ornull
if it does not exist. -
getJdbcPassword
public static String getJdbcPassword(InlineJdbc inlineJdbcElement) throws GenericEntityConfException Returns the configured JDBC password.- Parameters:
inlineJdbcElement
-- Returns:
- The configured JDBC password.
- Throws:
GenericEntityConfException
- If the password was not found.- See Also:
-
entity-config.xsd
-
getDatasourceMap
Returns the<datasource>
child elements as aMap
.
-