Package rocket.beans.rebind.xml

Examples of rocket.beans.rebind.xml.DocumentWalker$EnclosingBean


   */
  @Override
  protected NewConcreteType assembleNewType(final Type type, final String newTypeName) {
    this.verifyBeanFactory(type);

    final DocumentWalker document = this.getDocumentWalker(type);

    final NewConcreteType beanFactory = this.createBeanFactory(newTypeName, type);
    this.setBeanFactory(beanFactory);

    final Set<Bean> beans = document.getBeans();

    this.setBeans(this.createBeans());
    this.setAliases(this.createAliases());

    this.buildFactoryBeans(beans);

    final Set<Alias> aliases = document.getAliases();
    this.recordAliases(aliases);

    this.setImageValues(this.createImageValues());

    this.overrideAllFactoryBeanCreateInstances(beans);
    this.overrideAllFactoryBeanSatisfyInits(beans);
    this.overrideAllFactoryBeanSatisfyProperties(beans);

    this.createImageFactoryIfNecessary();

    this.overrideAllSingletonFactoryBeanToInvokeCustomDestroy(beans);

    this.buildAspects(document.getAspects());
    this.applyAspects();

    this.overrideBeanFactoryRegisterFactoryBeans();
    this.registerBeanAliases();
    this.overrideLoadEagerBeans();
View Full Code Here


    final GeneratorContext context = this.getGeneratorContext();
    context.branch();
    context.info("Preparing to discover components within \"" + fileName + "\".");

    final DocumentWalker document = new DocumentWalker();
    document.setEntityResolver(new BeanFactoryDtdEntityResolver());
    document.setErrorHandler(new RethrowSaxExceptionsErrorHandler());
    document.setGenerator(this);
    document.process(fileName);

    context.unbranch();

    return document;
  }
View Full Code Here

TOP

Related Classes of rocket.beans.rebind.xml.DocumentWalker$EnclosingBean

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.