Package org.springframework.beans.factory.config

Examples of org.springframework.beans.factory.config.ConfigurableBeanFactory.destroyBean()


      if (ctx.isActive()) {
        log.debug("Context is active, attempting to close");
        ctx.close();
      } else {
        try {
          factory.destroyBean(name, ctx);
        } catch (Exception e) {
          log.warn("Context destroy failed for: {}", name, e);
          ctx.destroy();
        } finally {
          if (factory.containsSingleton(name)) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.