Allow classes to "self-register", add themselves to a List, etc
<p>I'm working on a java app that will have a lot of contributions. I want classes in a single package to somehow "self-register" themselves. Currently, we have another classes that simply adds each to a listlike this:</p>

<p><code>ourlist.add( new SomeClassName() );</code></p>

<p>This requires that each contributor add a line like this for their addition which I want to avoid. I want to get the application to scan the package, and automatically add each class to the list like above.</p>

<p>I've tried using some class scanning code for packages but the class types weren't playing well with ours and I'm too new to java to fully comprehend the issue. </p>
