org.rythmengine.extension
Interface IByteCodeHelper


public interface IByteCodeHelper

A IByteCodeHelper could be plugged into RythmEngine in memory compilation system to provide extra way to locate class byte code.

A usage example of IByteCodeHelper could be find in Play!framework's Rythm plugin, which locates Play!Framework's application classes when compiling template classes

One engine instance can have zero or one IByteCodeHelper


Method Summary
 byte[] findByteCode(String typeName)
          Return the byte code of a class specified by the parameter
 

Method Detail

findByteCode

byte[] findByteCode(String typeName)
Return the byte code of a class specified by the parameter

Parameters:
typeName - The full name of the class who's byte code to be located
Returns:
the bytecode


Copyright © 2013. All Rights Reserved.