跳过导航链接
org.noear.solon.core

类 Bridge

    • 构造器详细资料

      • Bridge

        public Bridge()
    • 方法详细资料

      • sessionStateFactorySet

        @Note(value="\u8bbe\u7f6eSession\u72b6\u6001\u7ba1\u7406\u5668")
        public static void sessionStateFactorySet(SessionStateFactory ssf)
        设置Session状态管理器
      • sessionState

        @Note(value="\u83b7\u53d6Session\u72b6\u6001\u7ba1\u7406\u5668")
        public static SessionState sessionState(Context ctx)
        获取Session状态管理器
      • upstreamFactorySet

        @Note(value="\u8bbe\u7f6e\u8d1f\u8f7d\u5de5\u5382")
        public static void upstreamFactorySet(LoadBalance.Factory uf)
        设置负载工厂
      • actionExecutorDef

        @Note(value="\u83b7\u53d6\u9ed8\u8ba4\u7684Action\u6267\u884c\u5668")
        public static ActionExecutor actionExecutorDef()
        获取默认的Action执行器
      • actionExecutorDefSet

        @Note(value="\u8bbe\u7f6e\u9ed8\u8ba4\u7684Action\u6267\u884c\u5668")
        public static void actionExecutorDefSet(ActionExecutor ae)
        设置默认的Action执行器
      • actionExecutors

        @Note(value="\u83b7\u53d6\u6240\u6709Action\u6267\u884c\u5668")
        public static Set<ActionExecutor> actionExecutors()
        获取所有Action执行器
      • actionExecutorAdd

        @Note(value="\u6dfb\u52a0Action\u6267\u884c\u5668")
        public static void actionExecutorAdd(ActionExecutor e)
        添加Action执行器
      • renderRegister

        @Note(value="\u6ce8\u518c\u6e32\u67d3\u5668")
        public static void renderRegister(Render render)
        注册渲染器
        参数:
        render - 渲染器
      • renderMapping

        @Note(value="\u5370\u5c04\u6e32\u67d3\u5173\u7cfb")
        public static void renderMapping(String suffix,
                                                                                             Render render)
        印射渲染关系
        参数:
        suffix - 文件后缀名
        render - 渲染器
      • renderMapping

        @Note(value="\u5370\u5c04\u6e32\u67d3\u5173\u7cfb")
        public static void renderMapping(String suffix,
                                                                                             String className)
        印射渲染关系
        参数:
        suffix - 文件后缀名
        className - 渲染器类名
      • tranExecutor

        @Note(value="\u83b7\u53d6\u4e8b\u52a1\u6267\u884c\u5668")
        public static TranExecutor tranExecutor()
        获取事务执行器
      • tranExecutorSet

        @Note(value="\u8bbe\u7f6e\u4e8b\u52a1\u6267\u884c\u5668")
        public static void tranExecutorSet(TranExecutor te)
        设置事务执行器

Copyright © 2021. All rights reserved.