Results 1 to 2 of 2

Thread: Property PlaceHolder Configurer on Spring XML.

  1. #1

    Default Property PlaceHolder Configurer on Spring XML.

    I have a simple question on "property place holders" using a spring.xml file.

    <bean lazy-init="true" id="someID" class="${property.define.class}">

    Is it not possible to use property place holders to define which class the bean definition refers, and on case of "cannot be used", is there any alternative?

    Regards.

  2. #2
    Join Date
    Dec 2009
    Location
    India
    Posts
    108

    Default

    This is perfectly legal to do

Tags for this Thread

Posting Permissions

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