org.jboss.reflect.plugins.bytecode.bytes
Interface ClassBytesFactory
- All Known Implementing Classes:
- AsmClassBytesFactory
public interface ClassBytesFactory
- Version:
- $Revision: 1.1 $
- Author:
- Kabir Khan
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 fromname
- 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
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.