commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Honton, Charles" <>
Subject [classscan],[meiyo],[sandbox] Sharing a concrete proposal for class path scanning / class metadata
Date Mon, 09 Apr 2012 21:29:07 GMT
There's been sporadic talk on this newsgroup since September 2010 about providing a commons
component which can scan a classpath and provide metadata about the classes.   I have a clean
(license-wsie) concrete interface and implementation to share.  This code will support the
following use cases:

1. An ioc container used during unit testing that replaces the full-blown EJB container. 
The ioc container will auto-stitch the @Stateless unit under test with default @EJB implementations
available from the classpath.  The container allows replacement of default implementations
with specific mocks.  Framework needs to find @EJB interfaces and implementations available
from jars in classpath.

2. Augment a code container to implement a domain event pub/sub framework.  Auto-stitch the
subscribers that want specific events to the publication of events.  Framework needs to find
implementations available to ear.

3. A JPA implementation must find all classes marked with @Entity within the same jar that
contains a META-INF/persistence.xml file.

Anyone still interested in  supporting classpath / introspection features?

Implementation available for download from <>

Reports viewable at


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message