public class DataDomainProvider extends Object implements Provider<DataDomain>
DataChannel provider that provides a single instance of DataDomain
 configured per configuration supplied via injected
 DataChannelDescriptorLoader.| Modifier and Type | Field and Description | 
|---|---|
| protected DataNodeFactory | dataNodeFactory | 
| protected DataChannelDescriptorMerger | descriptorMerger | 
| protected List<DataChannelFilter> | filters | 
| protected Injector | injector | 
| protected List<Object> | listeners | 
| protected DataChannelDescriptorLoader | loader | 
| protected List<String> | locations | 
| protected QueryCache | queryCache | 
| protected ResourceLocator | resourceLocator | 
| protected RuntimeProperties | runtimeProperties | 
| protected ValueObjectTypeRegistry | valueObjectTypeRegistry | 
| Constructor and Description | 
|---|
| DataDomainProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DataNode | addDataNode(DataDomain dataDomain,
           DataNodeDescriptor nodeDescriptor) | 
| protected DataDomain | createAndInitDataDomain() | 
| protected DataDomain | createDataDomain(String name) | 
| DataDomain | get() | 
| protected DataChannelDescriptor | loadDescriptor() | 
protected ResourceLocator resourceLocator
protected DataChannelDescriptorMerger descriptorMerger
protected DataChannelDescriptorLoader loader
protected List<DataChannelFilter> filters
protected Injector injector
protected QueryCache queryCache
protected RuntimeProperties runtimeProperties
protected DataNodeFactory dataNodeFactory
protected ValueObjectTypeRegistry valueObjectTypeRegistry
public DataDomain get() throws ConfigurationException
get in interface Provider<DataDomain>ConfigurationExceptionprotected DataDomain createDataDomain(String name)
protected DataDomain createAndInitDataDomain() throws Exception
Exceptionprotected DataChannelDescriptor loadDescriptor()
protected DataNode addDataNode(DataDomain dataDomain, DataNodeDescriptor nodeDescriptor) throws Exception
ExceptionCopyright © 2001–2023 Apache Cayenne. All rights reserved.