public class DefaultAtlasContextFactory extends Object implements io.atlasmap.api.AtlasContextFactory, io.atlasmap.mxbean.AtlasContextFactoryMXBean
Constructor and Description |
---|
DefaultAtlasContextFactory() |
DefaultAtlasContextFactory(Map<String,String> properties) |
DefaultAtlasContextFactory(Properties properties) |
Modifier and Type | Method and Description |
---|---|
io.atlasmap.api.AtlasContext |
createContext(io.atlasmap.v2.AtlasMapping mapping) |
io.atlasmap.api.AtlasContext |
createContext(File atlasMappingFile) |
io.atlasmap.api.AtlasContext |
createContext(File atlasMappingFile,
AtlasMappingService.AtlasMappingFormat format) |
io.atlasmap.api.AtlasContext |
createContext(URI atlasMappingUri) |
io.atlasmap.api.AtlasContext |
createContext(URI atlasMappingUri,
AtlasMappingService.AtlasMappingFormat format) |
void |
destroy() |
protected List<String> |
getAllModuleConfigPackages(io.atlasmap.spi.AtlasModuleInfoRegistry registry) |
String |
getClassName() |
io.atlasmap.spi.AtlasCombineStrategy |
getCombineStrategy() |
protected List<String> |
getConfigPackages(Class<?> clazz) |
io.atlasmap.api.AtlasConversionService |
getConversionService() |
protected static DefaultAtlasContextFactory |
getFactory() |
io.atlasmap.api.AtlasFieldActionService |
getFieldActionService() |
static DefaultAtlasContextFactory |
getInstance() |
ObjectName |
getJmxObjectName() |
AtlasMappingService |
getMappingService() |
io.atlasmap.spi.AtlasModuleInfoRegistry |
getModuleInfoRegistry() |
protected String |
getModuleName(Class<?> clazz) |
protected String |
getModuleUri(Class<?> clazz) |
Map<String,String> |
getProperties() |
io.atlasmap.spi.AtlasPropertyStrategy |
getPropertyStrategy() |
io.atlasmap.spi.AtlasSeparateStrategy |
getSeparateStrategy() |
protected List<String> |
getSupportedDataFormats(Class<?> clazz) |
String |
getThreadName() |
String |
getUuid() |
io.atlasmap.api.AtlasValidationService |
getValidationService() |
String |
getVersion() |
void |
init() |
protected boolean |
isAtlasModuleInterface(Class<?> clazz,
Class<?> moduleInterface) |
protected boolean |
isClassAtlasModule(Class<?> clazz,
Class<?> moduleInterface) |
protected void |
loadModules(String moduleClassProperty,
Class<?> moduleInterface) |
protected void |
registerFactoryJmx(DefaultAtlasContextFactory factory) |
void |
setCombineStrategy(io.atlasmap.spi.AtlasCombineStrategy atlasCombineStrategy) |
void |
setMappingService(AtlasMappingService atlasMappingService) |
void |
setModuleInfoRegistry(io.atlasmap.spi.AtlasModuleInfoRegistry registry) |
protected void |
setObjectName() |
void |
setProperties(Map<String,String> properties) |
void |
setPropertyStrategy(io.atlasmap.spi.AtlasPropertyStrategy atlasPropertyStrategy) |
void |
setSeparateStrategy(io.atlasmap.spi.AtlasSeparateStrategy atlasSeparateStrategy) |
void |
setThreadName(String threadName) |
void |
setValidationService(io.atlasmap.api.AtlasValidationService atlasValidationService) |
protected void |
unloadModules() |
public DefaultAtlasContextFactory()
public DefaultAtlasContextFactory(Properties properties)
public static DefaultAtlasContextFactory getInstance()
public void init()
init
in interface io.atlasmap.api.AtlasContextFactory
public void setProperties(Map<String,String> properties)
setProperties
in interface io.atlasmap.api.AtlasContextFactory
public Map<String,String> getProperties()
getProperties
in interface io.atlasmap.api.AtlasContextFactory
public void destroy()
destroy
in interface io.atlasmap.api.AtlasContextFactory
public io.atlasmap.api.AtlasContext createContext(File atlasMappingFile) throws io.atlasmap.api.AtlasException
createContext
in interface io.atlasmap.api.AtlasContextFactory
io.atlasmap.api.AtlasException
public io.atlasmap.api.AtlasContext createContext(File atlasMappingFile, AtlasMappingService.AtlasMappingFormat format) throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasException
public io.atlasmap.api.AtlasContext createContext(URI atlasMappingUri) throws io.atlasmap.api.AtlasException
createContext
in interface io.atlasmap.api.AtlasContextFactory
io.atlasmap.api.AtlasException
public io.atlasmap.api.AtlasContext createContext(URI atlasMappingUri, AtlasMappingService.AtlasMappingFormat format) throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasException
public io.atlasmap.api.AtlasContext createContext(io.atlasmap.v2.AtlasMapping mapping) throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasException
public String getClassName()
getClassName
in interface io.atlasmap.mxbean.AtlasContextFactoryMXBean
public String getThreadName()
getThreadName
in interface io.atlasmap.mxbean.AtlasContextFactoryMXBean
public void setThreadName(String threadName)
public String getVersion()
getVersion
in interface io.atlasmap.mxbean.AtlasContextFactoryMXBean
public String getUuid()
getUuid
in interface io.atlasmap.mxbean.AtlasContextFactoryMXBean
public ObjectName getJmxObjectName()
public AtlasMappingService getMappingService()
public void setMappingService(AtlasMappingService atlasMappingService)
public io.atlasmap.spi.AtlasModuleInfoRegistry getModuleInfoRegistry()
public void setModuleInfoRegistry(io.atlasmap.spi.AtlasModuleInfoRegistry registry)
public io.atlasmap.api.AtlasConversionService getConversionService()
getConversionService
in interface io.atlasmap.api.AtlasContextFactory
public io.atlasmap.api.AtlasFieldActionService getFieldActionService()
getFieldActionService
in interface io.atlasmap.api.AtlasContextFactory
public io.atlasmap.spi.AtlasCombineStrategy getCombineStrategy()
getCombineStrategy
in interface io.atlasmap.api.AtlasContextFactory
public void setCombineStrategy(io.atlasmap.spi.AtlasCombineStrategy atlasCombineStrategy)
public io.atlasmap.spi.AtlasPropertyStrategy getPropertyStrategy()
getPropertyStrategy
in interface io.atlasmap.api.AtlasContextFactory
public void setPropertyStrategy(io.atlasmap.spi.AtlasPropertyStrategy atlasPropertyStrategy)
public io.atlasmap.spi.AtlasSeparateStrategy getSeparateStrategy()
getSeparateStrategy
in interface io.atlasmap.api.AtlasContextFactory
public void setSeparateStrategy(io.atlasmap.spi.AtlasSeparateStrategy atlasSeparateStrategy)
public io.atlasmap.api.AtlasValidationService getValidationService()
getValidationService
in interface io.atlasmap.api.AtlasContextFactory
public void setValidationService(io.atlasmap.api.AtlasValidationService atlasValidationService)
protected void unloadModules()
protected boolean isAtlasModuleInterface(Class<?> clazz, Class<?> moduleInterface)
protected List<String> getAllModuleConfigPackages(io.atlasmap.spi.AtlasModuleInfoRegistry registry)
protected void registerFactoryJmx(DefaultAtlasContextFactory factory)
protected void setObjectName() throws MalformedObjectNameException
MalformedObjectNameException
protected static DefaultAtlasContextFactory getFactory()
Copyright © 2018 JBoss by Red Hat. All rights reserved.