congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ConfigurableBeanFactory.getRegisteredScopeNames
Code IndexAdd Tabnine to your IDE (free)

How to use
getRegisteredScopeNames
method
in
org.springframework.beans.factory.config.ConfigurableBeanFactory

Best Java code snippets using org.springframework.beans.factory.config.ConfigurableBeanFactory.getRegisteredScopeNames (Showing top 3 results out of 315)

origin: spring-projects/spring-framework

@Override
public void copyConfigurationFrom(ConfigurableBeanFactory otherFactory) {
  Assert.notNull(otherFactory, "BeanFactory must not be null");
  setBeanClassLoader(otherFactory.getBeanClassLoader());
  setCacheBeanMetadata(otherFactory.isCacheBeanMetadata());
  setBeanExpressionResolver(otherFactory.getBeanExpressionResolver());
  setConversionService(otherFactory.getConversionService());
  if (otherFactory instanceof AbstractBeanFactory) {
    AbstractBeanFactory otherAbstractFactory = (AbstractBeanFactory) otherFactory;
    this.propertyEditorRegistrars.addAll(otherAbstractFactory.propertyEditorRegistrars);
    this.customEditors.putAll(otherAbstractFactory.customEditors);
    this.typeConverter = otherAbstractFactory.typeConverter;
    this.beanPostProcessors.addAll(otherAbstractFactory.beanPostProcessors);
    this.hasInstantiationAwareBeanPostProcessors = this.hasInstantiationAwareBeanPostProcessors ||
        otherAbstractFactory.hasInstantiationAwareBeanPostProcessors;
    this.hasDestructionAwareBeanPostProcessors = this.hasDestructionAwareBeanPostProcessors ||
        otherAbstractFactory.hasDestructionAwareBeanPostProcessors;
    this.scopes.putAll(otherAbstractFactory.scopes);
    this.securityContextProvider = otherAbstractFactory.securityContextProvider;
  }
  else {
    setTypeConverter(otherFactory.getTypeConverter());
    String[] otherScopeNames = otherFactory.getRegisteredScopeNames();
    for (String scopeName : otherScopeNames) {
      this.scopes.put(scopeName, otherFactory.getRegisteredScope(scopeName));
    }
  }
}
origin: org.springframework/spring-beans

@Override
public void copyConfigurationFrom(ConfigurableBeanFactory otherFactory) {
  Assert.notNull(otherFactory, "BeanFactory must not be null");
  setBeanClassLoader(otherFactory.getBeanClassLoader());
  setCacheBeanMetadata(otherFactory.isCacheBeanMetadata());
  setBeanExpressionResolver(otherFactory.getBeanExpressionResolver());
  setConversionService(otherFactory.getConversionService());
  if (otherFactory instanceof AbstractBeanFactory) {
    AbstractBeanFactory otherAbstractFactory = (AbstractBeanFactory) otherFactory;
    this.propertyEditorRegistrars.addAll(otherAbstractFactory.propertyEditorRegistrars);
    this.customEditors.putAll(otherAbstractFactory.customEditors);
    this.typeConverter = otherAbstractFactory.typeConverter;
    this.beanPostProcessors.addAll(otherAbstractFactory.beanPostProcessors);
    this.hasInstantiationAwareBeanPostProcessors = this.hasInstantiationAwareBeanPostProcessors ||
        otherAbstractFactory.hasInstantiationAwareBeanPostProcessors;
    this.hasDestructionAwareBeanPostProcessors = this.hasDestructionAwareBeanPostProcessors ||
        otherAbstractFactory.hasDestructionAwareBeanPostProcessors;
    this.scopes.putAll(otherAbstractFactory.scopes);
    this.securityContextProvider = otherAbstractFactory.securityContextProvider;
  }
  else {
    setTypeConverter(otherFactory.getTypeConverter());
    String[] otherScopeNames = otherFactory.getRegisteredScopeNames();
    for (String scopeName : otherScopeNames) {
      this.scopes.put(scopeName, otherFactory.getRegisteredScope(scopeName));
    }
  }
}
origin: apache/servicemix-bundles

@Override
public void copyConfigurationFrom(ConfigurableBeanFactory otherFactory) {
  Assert.notNull(otherFactory, "BeanFactory must not be null");
  setBeanClassLoader(otherFactory.getBeanClassLoader());
  setCacheBeanMetadata(otherFactory.isCacheBeanMetadata());
  setBeanExpressionResolver(otherFactory.getBeanExpressionResolver());
  setConversionService(otherFactory.getConversionService());
  if (otherFactory instanceof AbstractBeanFactory) {
    AbstractBeanFactory otherAbstractFactory = (AbstractBeanFactory) otherFactory;
    this.propertyEditorRegistrars.addAll(otherAbstractFactory.propertyEditorRegistrars);
    this.customEditors.putAll(otherAbstractFactory.customEditors);
    this.typeConverter = otherAbstractFactory.typeConverter;
    this.beanPostProcessors.addAll(otherAbstractFactory.beanPostProcessors);
    this.hasInstantiationAwareBeanPostProcessors = this.hasInstantiationAwareBeanPostProcessors ||
        otherAbstractFactory.hasInstantiationAwareBeanPostProcessors;
    this.hasDestructionAwareBeanPostProcessors = this.hasDestructionAwareBeanPostProcessors ||
        otherAbstractFactory.hasDestructionAwareBeanPostProcessors;
    this.scopes.putAll(otherAbstractFactory.scopes);
    this.securityContextProvider = otherAbstractFactory.securityContextProvider;
  }
  else {
    setTypeConverter(otherFactory.getTypeConverter());
    String[] otherScopeNames = otherFactory.getRegisteredScopeNames();
    for (String scopeName : otherScopeNames) {
      this.scopes.put(scopeName, otherFactory.getRegisteredScope(scopeName));
    }
  }
}
org.springframework.beans.factory.configConfigurableBeanFactorygetRegisteredScopeNames

Javadoc

Return the names of all currently registered scopes.

This will only return the names of explicitly registered scopes. Built-in scopes such as "singleton" and "prototype" won't be exposed.

Popular methods of ConfigurableBeanFactory

  • resolveEmbeddedValue
    Resolve the given embedded value, e.g. an annotation attribute.
  • getBeanExpressionResolver
    Return the resolution strategy for expressions in bean definition values.
  • getBean
  • registerSingleton
    Register the given existing object as singleton in the bean factory, under the given bean name.The g
  • getTypeConverter
    Obtain a type converter as used by this BeanFactory. This may be a fresh instance for each call, sin
  • getBeanClassLoader
    Return this factory's class loader for loading bean classes (only null if even the system ClassLoade
  • containsBean
  • getConversionService
    Return the associated ConversionService, if any.
  • getMergedBeanDefinition
    Return a merged BeanDefinition for the given bean name, merging a child bean definition with its par
  • isCurrentlyInCreation
    Determine whether the specified bean is currently in creation.
  • getSingletonMutex
  • destroySingletons
    Destroy all cached singletons in this factory. To be called on shutdown of a factory.
  • getSingletonMutex,
  • destroySingletons,
  • getSingletonNames,
  • registerDependentBean,
  • containsSingleton,
  • destroyBean,
  • isFactoryBean,
  • isSingleton,
  • registerAlias,
  • addBeanPostProcessor

Popular in Java

  • Making http post requests using okhttp
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • compareTo (BigDecimal)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now