org.apache.tapestry5.internal.services
Interface ComponentClassTransformer

All Known Implementing Classes:
ComponentClassTransformerImpl

public interface ComponentClassTransformer

Encapsulates all the work performed by the ComponentInstantiatorSource when it loads and transforms a class.


Method Summary
 Instantiator createInstantiator(String componentClassName)
          Creates a new instantiator instance.
 void transformComponentClass(javassist.CtClass ctClass, ClassLoader classLoader)
          Performs a transformation on the class, accessing the class from the class pool.
 

Method Detail

transformComponentClass

void transformComponentClass(javassist.CtClass ctClass,
                             ClassLoader classLoader)
Performs a transformation on the class, accessing the class from the class pool.

Parameters:
ctClass - compile time class to be transformed
classLoader - class loader used to resolve references to other classes (both transformed and not)

createInstantiator

Instantiator createInstantiator(String componentClassName)
Creates a new instantiator instance.

Parameters:
componentClassName - fully qualified name of component class to instantiate


Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.