Package org.apache.tapestry5.internal.transform
package org.apache.tapestry5.internal.transform
[INTERNAL USE ONLY] component class transformation implementation classes; API subject to change.
-
ClassDescriptionHooks the activate event handler on the component (presumably, a page) to extract query parameters, and hooks the link decoration events to extract values and add them to the
Link.Looks for theSessionStateannotations and converts read and write access on such fields into calls to theApplicationStateManager.Responsible for identifying, via theBindParameterannotation, mixin fields that should be bound to a core-component parameter value.Caches method return values for methods annotated withCached.Finds fields with theComponentannotation and updates the model.Obtains a value from theEnvironmentservice based on the field type.Supplies one parameter value when invoking a component event handler method.Used to encapsulate the list ofEventHandlerMethodParameterProviders for a particular method of a particular component, providingOperationTrackerbehavior as parameter values are obtained/computed/coerced.Implements theImportannotation, both at the class and at the method level.Recognizes theInjectComponentannotation, and converts the field into a read-only field containing the component.Identifies theInjectContainerannotation and adds code to initialize it to the core component.Processes the combination ofInjectandNamedannotations.Performs transformations that allow pages to be injected into components.Processes theInjectServiceannotation.Performs injection triggered by any field annotated with theInjectannotation or theInjectannotation.Looks for theLogmarker annotation and adds method advice to perform the logging.Manages a cache value as the result of invoking a no-arguments method.Looks for theMixinAfterannotation and sets themixinAfter flagif present.Supports theMixinannotation, which allows a mixin to be part of the implementation of a component.Provides implementations of theComponent.dispatchComponentEvent(org.apache.tapestry5.runtime.ComponentEvent)method, based onOnEventannotations and naming conventions.Add support for theOperationannotation on component class methods.Provides the page activation context handlers.Similar toRenderPhaseMethodWorkerbut applies to annotations/methods related to the overall page lifecycle.Implementation of thePageResetannotation.A facade aroundBindingandInternalComponentResourcesthat is used to instrument fields with theParameterannotation.Responsible for identifying parameters via theParameterannotation on component fields.Converts fields with thePersistannotation into persistent fields.Worker used to gather PlasticUtils.FieldInfo instances and implement PropertyValueProvider for any class that has them.Provides the getter and setter methods.An implementation ofFieldConduitfor a read-only component field.Ensures that all components implementRenderCommandby delegating toRenderCommand.render(org.apache.tapestry5.MarkupWriter, org.apache.tapestry5.runtime.RenderQueue).Converts one of the methods ofComponentinto a chain of command that, itself, invokes certain methods (render phase methods) marked with an annotation, or named in a specific way.Identifies fields with theRetainannotation, and "claims" them so that no special work will occur on them.Looks for theSessionAttributeannotation and converts read and write access on such fields into calls to theSession.getAttribute(String)andSession.setAttribute(String, Object).Checks for theSupportsInformalParametersannotation, settting the corresponding flag on the model if present.Designed to be just about the last worker in the pipeline.