接口 DisposableBean

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      voiddestroy()
      Invoked by the containing BeanFactory on destruction of a bean.
    • 方法详细资料

      • destroy

        void destroy()
              throws Exception
        Invoked by the containing BeanFactory on destruction of a bean.
        抛出:
        Exception - in case of shutdown errors. Exceptions will get logged but not rethrown to allow other beans to release their resources as well.