Results 1 to 3 of 3

Thread: Int'ing public inner classes in XML

  1. #1
    Join Date
    Aug 2004
    Posts
    16

    Default Int'ing public inner classes in XML

    Hi,
    I am using the Apache Commons Pool package and attempting to setup and instance of a public inner class (org.apache.commons.pool.impl.GenericKeyedObjectPo ol.Config).


    The spring startup validation is reporting that this class is not found. I've poked through the docs and don't see any refs to this scenario.

    Any ideas ?

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    The class name with be
    Code:
    org.apache.commons.pool.impl.GenericKeyedObjectPool$Config
    (Note the final $, not .) You can instantiate configure an inner class so long as it's static.

    There are numerous Spring test cases that instantiate static inner classes.

  3. #3
    Join Date
    Aug 2004
    Posts
    16

    Default

    Double Duh

    Thanks, Rod !

Similar Threads

  1. Forms
    By sherihan in forum Web
    Replies: 4
    Last Post: Oct 2nd, 2006, 06:24 AM
  2. Replies: 7
    Last Post: Aug 18th, 2005, 02:41 PM
  3. Odd behaviour when injecting TransactionTemplate
    By damon311 in forum Container
    Replies: 3
    Last Post: Jul 23rd, 2005, 11:21 AM
  4. Questioning the core component
    By Martin Kersten in forum Swing
    Replies: 6
    Last Post: Feb 21st, 2005, 03:45 AM
  5. Enlisting Custom DataSource with JTa
    By shaby775 in forum Data
    Replies: 11
    Last Post: Sep 9th, 2004, 03:00 AM

Posting Permissions

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