Announcement Announcement Module
Collapse
No announcement yet.
Int'ing public inner classes in XML Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment


    • #3
      Double Duh

      Thanks, Rod !

      Comment

      Working...
      X