JBoss Reflection 2.2.1.SP1

org.jboss.reflect.plugins.bytecode.bytes
Interface ClassBytesFactory

All Known Implementing Classes:
AsmClassBytesFactory

public interface ClassBytesFactory

Version:
$Revision: 1.1 $
Author:
Kabir Khan

Method Summary
 ClassBytes loadClassBytes(ClassLoader initiating, String name)
          Tries to load the class bytes
 ClassBytes loadPrimitive(String name)
          If the name resolves to a primitive or a primitive array get the classbytes
 

Method Detail

loadPrimitive

ClassBytes loadPrimitive(String name)
If the name resolves to a primitive or a primitive array get the classbytes


loadClassBytes

ClassBytes loadClassBytes(ClassLoader initiating,
                          String name)
Tries to load the class bytes

Parameters:
the - classloader to try to load the bytes from
name - the name of the class. This must be in the format 'package/ClassName'
Returns:
the class bytes, or null if no class could be found

JBoss Reflection 2.2.1.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.