Class SessionAttributeWorker
- java.lang.Object
 - 
- org.apache.tapestry5.internal.transform.SessionAttributeWorker
 
 
- 
- All Implemented Interfaces:
 ComponentClassTransformWorker2
public class SessionAttributeWorker extends Object implements ComponentClassTransformWorker2
Looks for theSessionAttributeannotation and converts read and write access on such fields into calls to theSession.getAttribute(String)andSession.setAttribute(String, Object). 
- 
- 
Constructor Summary
Constructors Constructor Description SessionAttributeWorker(Request request) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtransform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model)Invoked to perform part of the transformation of thePlasticClass. 
 - 
 
- 
- 
Constructor Detail
- 
SessionAttributeWorker
public SessionAttributeWorker(Request request)
 
 - 
 
- 
Method Detail
- 
transform
public void transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model)
Description copied from interface:ComponentClassTransformWorker2Invoked to perform part of the transformation of thePlasticClass.- Specified by:
 transformin interfaceComponentClassTransformWorker2- Parameters:
 plasticClass- component class being transformedsupport- additional utilities needed during the transformationmodel- the model for the component being transformed
 
 - 
 
 -