On Wed, 11 Sep 2002 23:56, Berin Loritsch wrote: > I would like to have an AvalonClassLoader that we can use to get all the > types from the classlaoder. Since we have special class meta info > stored > in the Manifest.mf file for which classes are components (and RSN which > interfaces are services), It would really help container developers if > they could grab an array or list of classes in the classloader that are > Services/Components.
You should not be extending ClassLoader to do this. It would make far more sense to have a utility method like String[] components = MyUtil.getComponents( getClassLoader() ); By doing it through extension you make it impossible to subclass ClassLoader which is needed if you want to do thing like advanced policy management. -- Cheers, Peter Donald ------------------------------------------------------ Mark Twain: "In the real world, the right thing never happens in the right place at the right time. It is the task of journalists and historians to rectify this error." ------------------------------------------------------ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
