类 SemiMybatisConfiguration

java.lang.Object
org.apache.ibatis.session.Configuration
top.zephyrs.mybatis.semi.SemiMybatisConfiguration

public class SemiMybatisConfiguration extends org.apache.ibatis.session.Configuration
扩展的 org.apache.ibatis.session.Configuration 增加通用功能的配置信息。
  • 嵌套类概要

    从类继承的嵌套类/接口 org.apache.ibatis.session.Configuration

    org.apache.ibatis.session.Configuration.StrictMap<V extends Object>
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected final org.apache.ibatis.logging.Log
     

    从类继承的字段 org.apache.ibatis.session.Configuration

    aggressiveLazyLoading, argNameBasedConstructorAutoMapping, autoMappingBehavior, autoMappingUnknownColumnBehavior, cacheEnabled, cacheRefMap, caches, callSettersOnNulls, configurationFactory, databaseId, defaultExecutorType, defaultFetchSize, defaultResultSetType, defaultSqlProviderType, defaultStatementTimeout, environment, incompleteCacheRefs, incompleteMethods, incompleteResultMaps, incompleteStatements, interceptorChain, jdbcTypeForNull, keyGenerators, languageRegistry, lazyLoadingEnabled, lazyLoadTriggerMethods, loadedResources, localCacheScope, logImpl, logPrefix, mappedStatements, mapperRegistry, mapUnderscoreToCamelCase, multipleResultSetsEnabled, nullableOnForEach, objectFactory, objectWrapperFactory, parameterMaps, proxyFactory, reflectorFactory, resultMaps, returnInstanceForEmptyRow, safeResultHandlerEnabled, safeRowBoundsEnabled, shrinkWhitespacesInSql, sqlFragments, typeAliasRegistry, typeHandlerRegistry, useActualParamName, useColumnLabel, useGeneratedKeys, variables, vfsImpl
  • 构造器概要

    构造器
    构造器
    说明
     
    SemiMybatisConfiguration(org.apache.ibatis.mapping.Environment environment)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    添加需要解密的MapperStatement,只有在默认不解密的情况下需要设置
    protected void
     
     
     
     
     
    org.apache.ibatis.mapping.MappedStatement
     
    org.apache.ibatis.mapping.MappedStatement
    getMappedStatement(String id, boolean validateIncompleteStatements)
     
    boolean
    判断是否需要解密
    org.apache.ibatis.executor.parameter.ParameterHandler
    newParameterHandler(org.apache.ibatis.mapping.MappedStatement mappedStatement, Object parameterObject, org.apache.ibatis.mapping.BoundSql boundSql)
     
    org.apache.ibatis.executor.resultset.ResultSetHandler
    newResultSetHandler(org.apache.ibatis.executor.Executor executor, org.apache.ibatis.mapping.MappedStatement mappedStatement, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.executor.parameter.ParameterHandler parameterHandler, org.apache.ibatis.session.ResultHandler resultHandler, org.apache.ibatis.mapping.BoundSql boundSql)
     
    void
     
    void
     
    void
    setKeyCreator(IdType idType, KeyCreator<?> keyCreator)
     
    void
     

    从类继承的方法 org.apache.ibatis.session.Configuration

    addCache, addCacheRef, addIncompleteCacheRef, addIncompleteMethod, addIncompleteResultMap, addIncompleteStatement, addInterceptor, addKeyGenerator, addLoadedResource, addMappedStatement, addMapper, addMappers, addMappers, addParameterMap, addResultMap, checkGloballyForDiscriminatedNestedResultMaps, checkLocallyForDiscriminatedNestedResultMaps, extractNamespace, getAutoMappingBehavior, getAutoMappingUnknownColumnBehavior, getCache, getCacheNames, getCaches, getConfigurationFactory, getDatabaseId, getDefaultExecutorType, getDefaultFetchSize, getDefaultResultSetType, getDefaultScriptingLanguageInstance, getDefaultScriptingLanuageInstance, getDefaultSqlProviderType, getDefaultStatementTimeout, getEnvironment, getIncompleteCacheRefs, getIncompleteMethods, getIncompleteResultMaps, getIncompleteStatements, getInterceptors, getJdbcTypeForNull, getKeyGenerator, getKeyGeneratorNames, getKeyGenerators, getLanguageDriver, getLanguageRegistry, getLazyLoadTriggerMethods, getLocalCacheScope, getLogImpl, getLogPrefix, getMappedStatementNames, getMappedStatements, getMapper, getMapperRegistry, getObjectFactory, getObjectWrapperFactory, getParameterMap, getParameterMapNames, getParameterMaps, getProxyFactory, getReflectorFactory, getResultMap, getResultMapNames, getResultMaps, getSqlFragments, getTypeAliasRegistry, getTypeHandlerRegistry, getVariables, getVfsImpl, hasCache, hasKeyGenerator, hasMapper, hasParameterMap, hasResultMap, hasStatement, hasStatement, isAggressiveLazyLoading, isArgNameBasedConstructorAutoMapping, isCacheEnabled, isCallSettersOnNulls, isLazyLoadingEnabled, isMapUnderscoreToCamelCase, isMultipleResultSetsEnabled, isNullableOnForEach, isResourceLoaded, isReturnInstanceForEmptyRow, isSafeResultHandlerEnabled, isSafeRowBoundsEnabled, isShrinkWhitespacesInSql, isUseActualParamName, isUseColumnLabel, isUseGeneratedKeys, newExecutor, newExecutor, newMetaObject, newStatementHandler, setAggressiveLazyLoading, setArgNameBasedConstructorAutoMapping, setAutoMappingBehavior, setAutoMappingUnknownColumnBehavior, setCacheEnabled, setCallSettersOnNulls, setConfigurationFactory, setDatabaseId, setDefaultEnumTypeHandler, setDefaultExecutorType, setDefaultFetchSize, setDefaultResultSetType, setDefaultScriptingLanguage, setDefaultSqlProviderType, setDefaultStatementTimeout, setEnvironment, setJdbcTypeForNull, setLazyLoadingEnabled, setLazyLoadTriggerMethods, setLocalCacheScope, setLogImpl, setLogPrefix, setMapUnderscoreToCamelCase, setMultipleResultSetsEnabled, setNullableOnForEach, setObjectFactory, setObjectWrapperFactory, setProxyFactory, setReflectorFactory, setReturnInstanceForEmptyRow, setSafeResultHandlerEnabled, setSafeRowBoundsEnabled, setShrinkWhitespacesInSql, setUseActualParamName, setUseColumnLabel, setUseGeneratedKeys, setVariables, setVfsImpl

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • log

      protected final org.apache.ibatis.logging.Log log
  • 构造器详细资料

    • SemiMybatisConfiguration

      public SemiMybatisConfiguration(org.apache.ibatis.mapping.Environment environment)
    • SemiMybatisConfiguration

      public SemiMybatisConfiguration()
  • 方法详细资料

    • getMappedStatement

      public org.apache.ibatis.mapping.MappedStatement getMappedStatement(String id)
      覆盖:
      getMappedStatement 在类中 org.apache.ibatis.session.Configuration
    • getMappedStatement

      public org.apache.ibatis.mapping.MappedStatement getMappedStatement(String id, boolean validateIncompleteStatements)
      覆盖:
      getMappedStatement 在类中 org.apache.ibatis.session.Configuration
    • newParameterHandler

      public org.apache.ibatis.executor.parameter.ParameterHandler newParameterHandler(org.apache.ibatis.mapping.MappedStatement mappedStatement, Object parameterObject, org.apache.ibatis.mapping.BoundSql boundSql)
      覆盖:
      newParameterHandler 在类中 org.apache.ibatis.session.Configuration
    • newResultSetHandler

      public org.apache.ibatis.executor.resultset.ResultSetHandler newResultSetHandler(org.apache.ibatis.executor.Executor executor, org.apache.ibatis.mapping.MappedStatement mappedStatement, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.executor.parameter.ParameterHandler parameterHandler, org.apache.ibatis.session.ResultHandler resultHandler, org.apache.ibatis.mapping.BoundSql boundSql)
      覆盖:
      newResultSetHandler 在类中 org.apache.ibatis.session.Configuration
    • buildAllStatements

      protected void buildAllStatements()
      覆盖:
      buildAllStatements 在类中 org.apache.ibatis.session.Configuration
    • getGlobalConfig

      public GlobalConfig getGlobalConfig()
    • setGlobalConfig

      public void setGlobalConfig(GlobalConfig globalConfig)
    • getInjectMethod

      public InjectMethod getInjectMethod(String id, Method method)
    • getInjectProcessor

      public InjectProcessor getInjectProcessor()
    • setInjectProcessor

      public void setInjectProcessor(InjectProcessor injectProcessor)
    • setKeyCreators

      public void setKeyCreators()
    • setKeyCreator

      public void setKeyCreator(IdType idType, KeyCreator<?> keyCreator)
    • getKeyCreator

      public KeyCreator<?> getKeyCreator(IdType idType)
    • addSensitiveMappedStatementIds

      public void addSensitiveMappedStatementIds(String id)
      添加需要解密的MapperStatement,只有在默认不解密的情况下需要设置
      参数:
      id - mappedStatement Id
    • isSensitiveDecrypt

      public boolean isSensitiveDecrypt(String id)
      判断是否需要解密
      参数:
      id - mappedStatement Id
      返回:
      true: 需要解密 false: 不需要解密