"adrian(a)jboss.org" wrote : "alesj" wrote :
| | To address Kabir'rs issue I'd suggest something like:
| |
| | | public interface ClassVisitor
| | | {
| | | void visit(URL classURL, String className, ClassLoader cl);
| | | }
| | |
| | /quote]
| |
| | Actually I'd suggest
| |
| | | public interface ClassVisitor
| | | {
| | | void visit(ClassContext cc);
| | | }
| | |
| |
| | Then we can add new parameters and ease of use methods to ClassContext
| | as required. e.g.
| | ClassContext.getBytes();
| | which will do all the work to open the stream and read the bytes from it.
| |
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145748#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...