Class DataDomainProvider
java.lang.Object
org.apache.cayenne.configuration.server.DataDomainProvider
- All Implemented Interfaces:
Provider<DataDomain>
A
DataChannel
provider that provides a single instance of DataDomain
configured per configuration supplied via injected
DataChannelDescriptorLoader
.- Since:
- 3.1
-
Field Summary
Modifier and TypeFieldDescriptionprotected DataNodeFactory
protected DataChannelDescriptorMerger
protected List
<DataChannelFilter> Deprecated.since 4.1, use query and sync filters insteadprotected Injector
protected DataChannelDescriptorLoader
protected QueryCache
protected List
<DataChannelQueryFilter> protected ResourceLocator
protected RuntimeProperties
protected List
<DataChannelSyncFilter> protected ValueComparisonStrategyFactory
protected ValueObjectTypeRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DataNode
addDataNode
(DataDomain dataDomain, DataNodeDescriptor nodeDescriptor) protected DataDomain
protected DataDomain
createDataDomain
(String name) get()
protected DataChannelDescriptor
-
Field Details
-
resourceLocator
-
descriptorMerger
-
loader
-
filters
Deprecated.since 4.1, use query and sync filters instead -
queryFilters
- Since:
- 4.1
-
syncFilters
- Since:
- 4.1
-
listeners
-
locations
-
injector
-
queryCache
-
runtimeProperties
-
dataNodeFactory
-
valueObjectTypeRegistry
-
valueComparisonStrategyFactory
- Since:
- 4.2
-
-
Constructor Details
-
DataDomainProvider
public DataDomainProvider()
-
-
Method Details
-
get
- Specified by:
get
in interfaceProvider<DataDomain>
- Throws:
ConfigurationException
-
createDataDomain
-
createAndInitDataDomain
- Throws:
Exception
-
loadDescriptor
- Since:
- 4.0
-
addDataNode
protected DataNode addDataNode(DataDomain dataDomain, DataNodeDescriptor nodeDescriptor) throws Exception - Throws:
Exception
- Since:
- 4.0
-