public abstract class AbstractDataDictionary<T> extends AbstractMessageConstructionInterceptor implements DataDictionary<T>, org.springframework.beans.factory.InitializingBean
DataDictionary.PathMappingStrategy| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.core.io.Resource |
mappingFile
mapping file resource
|
protected Map<String,String> |
mappings
Known mappings to this dictionary
|
| Constructor and Description |
|---|
AbstractDataDictionary() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.springframework.core.io.Resource |
getMappingFile()
Gets the mapping file resource.
|
Map<String,String> |
getMappings()
Gets the mappings.
|
String |
getName()
Gets this interceptors name.
|
DataDictionary.PathMappingStrategy |
getPathMappingStrategy()
Gets the path mapping strategy.
|
boolean |
isGlobalScope()
Should dictionary be used in global scope.
|
void |
setGlobalScope(boolean scope)
Sets the global scope property.
|
void |
setMappingFile(org.springframework.core.io.Resource mappingFile)
Sets the mapping file resource.
|
void |
setMappings(Map<String,String> mappings)
Sets the mappings.
|
void |
setName(String name)
Sets the data dictionary name.
|
void |
setPathMappingStrategy(DataDictionary.PathMappingStrategy pathMappingStrategy)
Sets the path mapping strategy.
|
interceptMessage, interceptMessageConstructionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittranslateinterceptMessageConstruction, supportsMessageTypeprotected org.springframework.core.io.Resource mappingFile
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic String getName()
AbstractMessageConstructionInterceptorgetName in interface DataDictionary<T>getName in class AbstractMessageConstructionInterceptorpublic void setName(String name)
name - public boolean isGlobalScope()
DataDictionaryisGlobalScope in interface DataDictionary<T>public void setGlobalScope(boolean scope)
scope - public void setMappings(Map<String,String> mappings)
mappings - public org.springframework.core.io.Resource getMappingFile()
public void setMappingFile(org.springframework.core.io.Resource mappingFile)
mappingFile - public DataDictionary.PathMappingStrategy getPathMappingStrategy()
DataDictionarygetPathMappingStrategy in interface DataDictionary<T>public void setPathMappingStrategy(DataDictionary.PathMappingStrategy pathMappingStrategy)
pathMappingStrategy - Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.