public class SessionAttributeWorker extends Object implements ComponentClassTransformWorker2
SessionAttribute
annotation and converts read and write access on such
fields into calls to the Session.getAttribute(String)
and Session.setAttribute(String, Object)
.Constructor and Description |
---|
SessionAttributeWorker(Request request) |
Modifier and Type | Method and Description |
---|---|
void |
transform(PlasticClass plasticClass,
TransformationSupport support,
MutableComponentModel model)
Invoked to perform part of the transformation of the
PlasticClass . |
public SessionAttributeWorker(Request request)
public void transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model)
ComponentClassTransformWorker2
PlasticClass
.transform
in interface ComponentClassTransformWorker2
plasticClass
- component class being transformedsupport
- additional utilities needed during the transformationmodel
- the model for the component being transformed5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.