super(parent);
this.uri = uri;
}
public Class findClass(String name) throws ClassNotFoundException {
Context context = new SystemContext();
try {
URI rendererUri = new URIValue(uri.toString() + name.replace('.', '/') + ".class");
StreamableValue resource = ((StreamableValue)Projector.getRepository().getResource(rendererUri, context.getCredentials()));
if ( resource == null ) {
throw new ClassNotFoundException("Class " + name + " at URI '"+rendererUri+"' not found in collection '" + uri + "'!");
}
InputStream inputStream = resource.getInputStream();
ByteArrayOutputStream outputStream = new ByteArrayOutputStream(1024);