Tabnine Logo
ChildBeanDefinition.setBeanClassName
Code IndexAdd Tabnine to your IDE (free)

How to use
setBeanClassName
method
in
org.springframework.beans.factory.support.ChildBeanDefinition

Best Java code snippets using org.springframework.beans.factory.support.ChildBeanDefinition.setBeanClassName (Showing top 6 results out of 315)

origin: spring-projects/spring-framework

/**
 * Create a new ChildBeanDefinition for the given parent,
 * providing constructor arguments and property values.
 * Takes a bean class name to avoid eager loading of the bean class.
 * @param parentName the name of the parent bean
 * @param beanClassName the name of the class to instantiate
 * @param cargs the constructor argument values to apply
 * @param pvs the property values to apply
 */
public ChildBeanDefinition(
    String parentName, String beanClassName, ConstructorArgumentValues cargs, MutablePropertyValues pvs) {
  super(cargs, pvs);
  this.parentName = parentName;
  setBeanClassName(beanClassName);
}
origin: org.springframework/spring-beans

/**
 * Create a new ChildBeanDefinition for the given parent,
 * providing constructor arguments and property values.
 * Takes a bean class name to avoid eager loading of the bean class.
 * @param parentName the name of the parent bean
 * @param beanClassName the name of the class to instantiate
 * @param cargs the constructor argument values to apply
 * @param pvs the property values to apply
 */
public ChildBeanDefinition(
    String parentName, String beanClassName, ConstructorArgumentValues cargs, MutablePropertyValues pvs) {
  super(cargs, pvs);
  this.parentName = parentName;
  setBeanClassName(beanClassName);
}
origin: camunda/camunda-bpm-platform

/**
 * Create a new ChildBeanDefinition for the given parent,
 * providing constructor arguments and property values.
 * Takes a bean class name to avoid eager loading of the bean class.
 * @param parentName the name of the parent bean
 * @param beanClassName the name of the class to instantiate
 * @param cargs the constructor argument values to apply
 * @param pvs the property values to apply
 */
public ChildBeanDefinition(
    String parentName, String beanClassName, ConstructorArgumentValues cargs, MutablePropertyValues pvs) {
  super(cargs, pvs);
  this.parentName = parentName;
  setBeanClassName(beanClassName);
}
origin: springframework/spring-beans

/**
 * Create a new ChildBeanDefinition for the given parent,
 * providing constructor arguments and property values.
 * Takes a bean class name to avoid eager loading of the bean class.
 * @param parentName the name of the parent bean
 * @param beanClassName the name of the class to instantiate
 * @param cargs the constructor argument values to apply
 * @param pvs the property values to apply
 */
public ChildBeanDefinition(
    String parentName, String beanClassName, ConstructorArgumentValues cargs, MutablePropertyValues pvs) {
  super(cargs, pvs);
  this.parentName = parentName;
  setBeanClassName(beanClassName);
}
origin: apache/servicemix-bundles

/**
 * Create a new ChildBeanDefinition for the given parent,
 * providing constructor arguments and property values.
 * Takes a bean class name to avoid eager loading of the bean class.
 * @param parentName the name of the parent bean
 * @param beanClassName the name of the class to instantiate
 * @param cargs the constructor argument values to apply
 * @param pvs the property values to apply
 */
public ChildBeanDefinition(
    String parentName, String beanClassName, ConstructorArgumentValues cargs, MutablePropertyValues pvs) {
  super(cargs, pvs);
  this.parentName = parentName;
  setBeanClassName(beanClassName);
}
origin: org.apache.cocoon/cocoon-sitemap-impl

/**
 * @see org.apache.cocoon.core.container.spring.avalon.BridgeElementParser#createComponents(org.w3c.dom.Element, org.apache.cocoon.core.container.spring.avalon.ConfigurationInfo, org.springframework.beans.factory.support.BeanDefinitionRegistry, org.springframework.beans.factory.support.BeanDefinitionReader, org.springframework.core.io.ResourceLoader)
 */
public void createComponents(Element element, ConfigurationInfo info,
    BeanDefinitionRegistry registry, BeanDefinitionReader reader,
    ResourceLoader resourceLoader) throws Exception {
  super.createComponents(element, info, registry, reader, resourceLoader);
  // add string template parser for sitemap variable substitution
  final ChildBeanDefinition beanDef = new ChildBeanDefinition("org.apache.cocoon.template.expression.AbstractStringTemplateParser");
  beanDef.setBeanClassName("org.apache.cocoon.components.treeprocessor.variables.LegacySitemapStringTemplateParser");
  beanDef.setSingleton(true);
  beanDef.setLazyInit(false);
  beanDef.getPropertyValues().addPropertyValue("serviceManager", new RuntimeBeanReference("org.apache.avalon.framework.service.ServiceManager"));
  this.register(beanDef, "org.apache.cocoon.el.parsing.StringTemplateParser/legacySitemap", null, registry);
  final RootBeanDefinition resolverDef = new RootBeanDefinition();
  resolverDef.setBeanClassName("org.apache.cocoon.components.treeprocessor.variables.StringTemplateParserVariableResolver");
  resolverDef.setLazyInit(false);
  resolverDef.setScope("prototype");
  resolverDef.getPropertyValues().addPropertyValue("stringTemplateParser", new RuntimeBeanReference("org.apache.cocoon.el.parsing.StringTemplateParser/legacySitemap"));
  resolverDef.getPropertyValues().addPropertyValue("objectModel", new RuntimeBeanReference("org.apache.cocoon.el.objectmodel.ObjectModel"));
  this.register(resolverDef, "org.apache.cocoon.components.treeprocessor.variables.VariableResolver", null, registry);
}
org.springframework.beans.factory.supportChildBeanDefinitionsetBeanClassName

Popular methods of ChildBeanDefinition

  • <init>
    Create a new ChildBeanDefinition as deep copy of the given bean definition.
  • setBeanClass
  • getParentName
    Return the name of the parent definition of this bean definition.
  • getPropertyValues
  • getResourceDescription
  • setLazyInit
  • setSingleton

Popular in Java

  • Making http post requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • startActivity (Activity)
  • onRequestPermissionsResult (Fragment)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Top plugins for WebStorm
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