org.springframework.beans.factory

Interface DisposableBean

    • Method Detail

      • destroy

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