Class DefaultAtlasContextFactory

  • All Implemented Interfaces:
    io.atlasmap.api.AtlasContextFactory, io.atlasmap.mxbean.AtlasContextFactoryMXBean

    public class DefaultAtlasContextFactory
    extends Object
    implements io.atlasmap.api.AtlasContextFactory, io.atlasmap.mxbean.AtlasContextFactoryMXBean
    • Method Detail

      • init

        public void init()
        Specified by:
        init in interface io.atlasmap.api.AtlasContextFactory
      • setProperties

        public void setProperties​(Map<String,​String> properties)
        Specified by:
        setProperties in interface io.atlasmap.api.AtlasContextFactory
      • setProperties

        public void setProperties​(Properties properties)
        Specified by:
        setProperties in interface io.atlasmap.api.AtlasContextFactory
      • getProperties

        public Map<String,​String> getProperties()
        Specified by:
        getProperties in interface io.atlasmap.api.AtlasContextFactory
      • destroy

        public void destroy()
        Specified by:
        destroy in interface io.atlasmap.api.AtlasContextFactory
      • createContext

        public DefaultAtlasContext createContext​(File atlasMappingFile)
                                          throws io.atlasmap.api.AtlasException
        Specified by:
        createContext in interface io.atlasmap.api.AtlasContextFactory
        Throws:
        io.atlasmap.api.AtlasException
      • createContext

        public DefaultAtlasContext createContext​(URI atlasMappingUri)
                                          throws io.atlasmap.api.AtlasException
        Specified by:
        createContext in interface io.atlasmap.api.AtlasContextFactory
        Throws:
        io.atlasmap.api.AtlasException
      • createContext

        public DefaultAtlasContext createContext​(io.atlasmap.v2.AtlasMapping mapping)
                                          throws io.atlasmap.api.AtlasException
        Throws:
        io.atlasmap.api.AtlasException
      • createContext

        public DefaultAtlasContext createContext​(io.atlasmap.api.AtlasContextFactory.Format format,
                                                 InputStream stream)
                                          throws io.atlasmap.api.AtlasException
        Specified by:
        createContext in interface io.atlasmap.api.AtlasContextFactory
        Throws:
        io.atlasmap.api.AtlasException
      • createPreviewContext

        public io.atlasmap.core.DefaultAtlasPreviewContext createPreviewContext()
        Specified by:
        createPreviewContext in interface io.atlasmap.api.AtlasContextFactory
      • getClassName

        public String getClassName()
        Specified by:
        getClassName in interface io.atlasmap.mxbean.AtlasContextFactoryMXBean
      • getThreadName

        public String getThreadName()
        Specified by:
        getThreadName in interface io.atlasmap.mxbean.AtlasContextFactoryMXBean
      • setThreadName

        public void setThreadName​(String threadName)
      • getVersion

        public String getVersion()
        Specified by:
        getVersion in interface io.atlasmap.mxbean.AtlasContextFactoryMXBean
      • getUuid

        public String getUuid()
        Specified by:
        getUuid in interface io.atlasmap.mxbean.AtlasContextFactoryMXBean
      • getJmxObjectName

        public ObjectName getJmxObjectName()
      • getModuleInfoRegistry

        public io.atlasmap.spi.AtlasModuleInfoRegistry getModuleInfoRegistry()
      • setModuleInfoRegistry

        public void setModuleInfoRegistry​(io.atlasmap.spi.AtlasModuleInfoRegistry registry)
      • getConversionService

        public DefaultAtlasConversionService getConversionService()
        Specified by:
        getConversionService in interface io.atlasmap.api.AtlasContextFactory
      • getFieldActionService

        public DefaultAtlasFieldActionService getFieldActionService()
        Specified by:
        getFieldActionService in interface io.atlasmap.api.AtlasContextFactory
      • getCombineStrategy

        public io.atlasmap.spi.AtlasCombineStrategy getCombineStrategy()
        Specified by:
        getCombineStrategy in interface io.atlasmap.api.AtlasContextFactory
      • setCombineStrategy

        public void setCombineStrategy​(io.atlasmap.spi.AtlasCombineStrategy atlasCombineStrategy)
      • getPropertyStrategy

        public io.atlasmap.spi.AtlasPropertyStrategy getPropertyStrategy()
        Specified by:
        getPropertyStrategy in interface io.atlasmap.api.AtlasContextFactory
      • setPropertyStrategy

        public void setPropertyStrategy​(io.atlasmap.spi.AtlasPropertyStrategy atlasPropertyStrategy)
        Specified by:
        setPropertyStrategy in interface io.atlasmap.api.AtlasContextFactory
      • getSeparateStrategy

        public io.atlasmap.spi.AtlasSeparateStrategy getSeparateStrategy()
        Specified by:
        getSeparateStrategy in interface io.atlasmap.api.AtlasContextFactory
      • setSeparateStrategy

        public void setSeparateStrategy​(io.atlasmap.spi.AtlasSeparateStrategy atlasSeparateStrategy)
      • getValidationService

        public io.atlasmap.api.AtlasValidationService getValidationService()
        Specified by:
        getValidationService in interface io.atlasmap.api.AtlasContextFactory
      • setValidationService

        public void setValidationService​(io.atlasmap.api.AtlasValidationService atlasValidationService)
      • addClassLoader

        public void addClassLoader​(ClassLoader cl)
        Specified by:
        addClassLoader in interface io.atlasmap.api.AtlasContextFactory
      • loadModules

        protected void loadModules​(String moduleClassProperty,
                                   Class<?> moduleInterface)
      • unloadModules

        protected void unloadModules()
      • isClassAtlasModule

        protected boolean isClassAtlasModule​(Class<?> clazz,
                                             Class<?> moduleInterface)
      • isAtlasModuleInterface

        protected boolean isAtlasModuleInterface​(Class<?> clazz,
                                                 Class<?> moduleInterface)
      • getModuleUri

        protected String getModuleUri​(Class<?> clazz)
      • getModuleName

        protected String getModuleName​(Class<?> clazz)
      • getSupportedDataFormats

        protected List<String> getSupportedDataFormats​(Class<?> clazz)
      • getConfigPackages

        protected List<String> getConfigPackages​(Class<?> clazz)
      • getAllModuleConfigPackages

        protected List<String> getAllModuleConfigPackages​(io.atlasmap.spi.AtlasModuleInfoRegistry registry)