Class XMLConfigBuilder

    • Field Detail

      • parsed

        private boolean parsed
      • environment

        private java.lang.String environment
    • Constructor Detail

      • XMLConfigBuilder

        public XMLConfigBuilder​(java.io.Reader reader)
      • XMLConfigBuilder

        public XMLConfigBuilder​(java.io.Reader reader,
                                java.lang.String environment)
      • XMLConfigBuilder

        public XMLConfigBuilder​(java.io.Reader reader,
                                java.lang.String environment,
                                java.util.Properties props)
      • XMLConfigBuilder

        public XMLConfigBuilder​(java.lang.Class<? extends Configuration> configClass,
                                java.io.Reader reader,
                                java.lang.String environment,
                                java.util.Properties props)
      • XMLConfigBuilder

        public XMLConfigBuilder​(java.io.InputStream inputStream)
      • XMLConfigBuilder

        public XMLConfigBuilder​(java.io.InputStream inputStream,
                                java.lang.String environment)
      • XMLConfigBuilder

        public XMLConfigBuilder​(java.io.InputStream inputStream,
                                java.lang.String environment,
                                java.util.Properties props)
      • XMLConfigBuilder

        public XMLConfigBuilder​(java.lang.Class<? extends Configuration> configClass,
                                java.io.InputStream inputStream,
                                java.lang.String environment,
                                java.util.Properties props)
      • XMLConfigBuilder

        private XMLConfigBuilder​(java.lang.Class<? extends Configuration> configClass,
                                 XPathParser parser,
                                 java.lang.String environment,
                                 java.util.Properties props)
    • Method Detail

      • parseConfiguration

        private void parseConfiguration​(XNode root)
      • settingsAsProperties

        private java.util.Properties settingsAsProperties​(XNode context)
      • loadCustomVfsImpl

        private void loadCustomVfsImpl​(java.util.Properties props)
                                throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • loadCustomLogImpl

        private void loadCustomLogImpl​(java.util.Properties props)
      • typeAliasesElement

        private void typeAliasesElement​(XNode context)
      • pluginsElement

        private void pluginsElement​(XNode context)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • objectFactoryElement

        private void objectFactoryElement​(XNode context)
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • objectWrapperFactoryElement

        private void objectWrapperFactoryElement​(XNode context)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • reflectorFactoryElement

        private void reflectorFactoryElement​(XNode context)
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • propertiesElement

        private void propertiesElement​(XNode context)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • settingsElement

        private void settingsElement​(java.util.Properties props)
      • environmentsElement

        private void environmentsElement​(XNode context)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • databaseIdProviderElement

        private void databaseIdProviderElement​(XNode context)
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • transactionManagerElement

        private TransactionFactory transactionManagerElement​(XNode context)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • dataSourceElement

        private DataSourceFactory dataSourceElement​(XNode context)
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • typeHandlersElement

        private void typeHandlersElement​(XNode context)
      • mappersElement

        private void mappersElement​(XNode context)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • isSpecifiedEnvironment

        private boolean isSpecifiedEnvironment​(java.lang.String id)