org.apache.tapestry5.plastic
Interface PlasticManagerDelegate

All Superinterfaces:
PlasticClassTransformer
All Known Implementing Classes:
ComponentInstantiatorSourceImpl, NoopDelegate, StandardDelegate

public interface PlasticManagerDelegate
extends PlasticClassTransformer

Delegate to the PlasticManager that performs the actual transformations of the class. Transformations only occur on main classes, not on inner classes.


Method Summary
<T> ClassInstantiator<T>
configureInstantiator(String className, ClassInstantiator<T> instantiator)
          Configures the instantiator for a transformed PlasticClass.
 
Methods inherited from interface org.apache.tapestry5.plastic.PlasticClassTransformer
transform
 

Method Detail

configureInstantiator

<T> ClassInstantiator<T> configureInstantiator(String className,
                                               ClassInstantiator<T> instantiator)
Configures the instantiator for a transformed PlasticClass.

Parameters:
className - fully qualified class name that was transformed
instantiator - default instantiator, which has an empty InstanceContext
Returns:
the same instantiator, or a new one configured with additional InstanceContext values


Copyright © 2003-2012 The Apache Software Foundation.