Package org.springframework.beans.factory.config

Examples of org.springframework.beans.factory.config.Scope


  private void registerPropertyEditors(ConfigurableListableBeanFactory beanFactory) {
    beanFactory.addPropertyEditorRegistrar(new OsgiPropertyEditorRegistrar());
  }

  private void cleanOsgiBundleScope(ConfigurableListableBeanFactory beanFactory) {
    Scope scope = beanFactory.getRegisteredScope(OsgiBundleScope.SCOPE_NAME);
    if (scope != null && scope instanceof OsgiBundleScope) {
      if (logger.isDebugEnabled())
        logger.debug("Destroying existing bundle scope beans...");
      ((OsgiBundleScope) scope).destroy();
    }
View Full Code Here

TOP

Related Classes of org.springframework.beans.factory.config.Scope

Copyright © 2018 www.massapicom. 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.