Results 1 to 3 of 3

Thread: Instance of BeanFactory

  1. #1
    Join Date
    Dec 2006
    Posts
    108

    Default Instance of BeanFactory

    Hi,

    To get an instance of a bean factory using ctx.getBean("<<BeanFactoryName>>"), why do I have to add an "&" like this ??

    ("<<&BeanFactoryName>>")

    I do not understand...Could someone kindly explain ?

    Thanks...VJ

  2. #2
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    Are you talking about BeanFactory or FactoryBean?
    Last edited by karldmoore; Aug 27th, 2007 at 03:31 PM.
    Barracuda Networks SSL VPN Lead Developer
    http://pramatr.wordpress.com
    http://twitter.com/karldmoore
    http://www.linkedin.com/in/karldmoore
    Any postings are my own opinion, and should not be attributed to my employer or clients.

  3. #3
    Join Date
    Nov 2005
    Location
    Reutlingen, Germany
    Posts
    2,098

    Default

    Mostly the reference is your friend: Customizing instantiation logic using FactoryBeans.

    Jörg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •