类 BeetlRuntime

java.lang.Object
org.beetl.core.runtime.BeetlRuntime

public class BeetlRuntime extends Object
Beetl运行时,用于获取各种运行时
  • 构造器详细资料

    • BeetlRuntime

      public BeetlRuntime()
  • 方法详细资料

    • getConfigManager

      public static IBeetlConfigManager getConfigManager()
      获取Beetl的运行时配置信息
      返回:
      Beetl的运行时配置信息
    • getMemoryManager

      public static IBeetlMemoryManager getMemoryManager()
      获取Beetl的运行时内存管理器
      返回:
      Beetl的运行时内存管理器
    • getCache

      public static IBeetlCache getCache()
      获取缓存实例
      返回:
      返回一个默认的实现
    • getCache

      public static IBeetlCache getCache(String className)
      获取缓存实例
      参数:
      className - 全限定类名
      返回:
      根据类名加载缓存类,返回其实例
      另请参阅: