Package rocket.beans.rebind

Examples of rocket.beans.rebind.Bean


    final BeanTag tag = new BeanTag();
    tag.setElement(element);
    tag.setFilename(this.getFilename());
    tag.setPlaceHolderResolver(this.getPlaceHolderResolver());

    final Bean bean = new Bean();
    bean.setEagerLoaded(tag.isEagerLoaded());
    bean.setId(tag.getId());
    bean.setSingleton(tag.isSingleton());
    bean.setTypeName(tag.getClassName());
    bean.setFactoryMethod(tag.getFactoryMethod());
    bean.setInitMethod(tag.getInitMethod());
    bean.setDestroyMethod(tag.getDestroyMethod());

    this.addBean(bean);

    this.setParentBean(bean);
    bean.setConstructorValues(this.visitConstructorValues(tag.getConstructorValues()));
    bean.setProperties(this.visitProperties(tag.getProperties()));

    this.removeParentBean();
  }
View Full Code Here

TOP

Related Classes of rocket.beans.rebind.Bean

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.