org.rythmengine.extension
Interface IByteCodeEnhancer


public interface IByteCodeEnhancer

Use application or framework plugins based on rythm engine could implement this interface to allow further process compiled template classes.

One engine instance can have zero or one ITemplateClassEnhancer


Nested Class Summary
static class IByteCodeEnhancer.INSTS
          Not to be used by user application
 
Method Summary
 byte[] enhance(String className, byte[] classBytes)
          Enhance byte code.
 

Method Detail

enhance

byte[] enhance(String className,
               byte[] classBytes)
               throws Exception
Enhance byte code. This method is called after a template class get compiled and before it is cached to disk

Parameters:
className -
classBytes -
Returns:
the bytecode
Throws:
Exception


Copyright © 2013. All Rights Reserved.