We need to change the current org.jboss.util.loading.Translator interface:
public interface Translator
{
public byte[] translate(String classname, ClassLoader cl) throws Exception;public void unregisterClassLoader(ClassLoader cl); }
to be compatible with the JSR163 ClassFileTransformer interface:
java.lang.instrument.ClassFileTransformer
{
public byte[] transform(java.lang.ClassLoader loader,
java.lang.String className,
java.lang.Class classBeingRedefined,
java.security.ProtectionDomain protectionDomain,
byte[] classfileBuffer)
throws IllegalClassFormatException
}so that we have a standard hook for class manipulation.
-- xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
