Package org.apache.tapestry5.internal.transform
[INTERNAL USE ONLY] component class transformation implementation classes; API subject to change.
-
Interface Summary Interface Description EventHandlerMethodParameterProvider Supplies one parameter value when invoking a component event handler method.ImportWorker.ImportWorkerDataProvider MethodResultCache Manages a cache value as the result of invoking a no-arguments method.ParameterConduit A facade aroundBindingandInternalComponentResourcesthat is used to instrument fields with theParameterannotation. -
Class Summary Class Description ActivationRequestParameterWorker Hooks 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 theLink.ApplicationStateWorker Looks for theSessionStateannotations and converts read and write access on such fields into calls to theApplicationStateManager.BindParameterWorker Responsible for identifying, via theBindParameterannotation, mixin fields that should be bound to a core-component parameter value.CachedWorker Caches method return values for methods annotated withCached.ComponentWorker Finds fields with theComponentannotation and updates the model.DiscardAfterWorker EnvironmentalWorker Obtains a value from theEnvironmentservice based on the field type.EventHandlerMethodParameterSource Used to encapsulate the list ofEventHandlerMethodParameterProviders for a particular method of a particular component, providingOperationTrackerbehavior as parameter values are obtained/computed/coerced.HeartbeatDeferredWorker ImportWorker Implements theImportannotation, both at the class and at the method level.InjectComponentWorker Recognizes theInjectComponentannotation, and converts the field into a read-only field containing the component.InjectContainerWorker Identifies theInjectContainerannotation and adds code to initialize it to the core component.InjectNamedProvider InjectPageWorker Performs transformations that allow pages to be injected into components.InjectServiceWorker Processes theInjectServiceannotation.InjectWorker LogWorker Looks for theLogmarker annotation and adds method advice to perform the logging.MixinAfterWorker Looks for theMixinAfterannotation and sets themixinAfter flagif present.MixinWorker Supports theMixinannotation, which allows a mixin to be part of the implementation of a component.OnEventWorker Provides implementations of theComponent.dispatchComponentEvent(org.apache.tapestry5.runtime.ComponentEvent)method, based onOnEventannotations and naming conventions.OperationWorker Add support for theOperationannotation on component class methods.PageActivationContextWorker Provides the page activation context handlers.PageLifecycleAnnotationWorker Similar toRenderPhaseMethodWorkerbut applies to annotations/methods related to the overall page lifecycle.PageResetAnnotationWorker Implementation of thePageResetannotation.ParameterWorker Responsible for identifying parameters via theParameterannotation on component fields.PersistWorker Converts fields with thePersistannotation into persistent fields.PropertyValueProviderWorker Worker used to gather PlasticUtils.FieldInfo instances and implement PropertyValueProvider for any class that has them.PropertyWorker Provides the getter and setter methods.ReadOnlyComponentFieldConduit An implementation ofFieldConduitfor a read-only component field.RenderCommandWorker Ensures that all components implementRenderCommandby delegating toRenderCommand.render(org.apache.tapestry5.MarkupWriter, org.apache.tapestry5.runtime.RenderQueue).RenderPhaseMethodWorker 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.RetainWorker Identifies fields with theRetainannotation, and "claims" them so that no special work will occur on them.SessionAttributeWorker Looks for theSessionAttributeannotation and converts read and write access on such fields into calls to theSession.getAttribute(String)andSession.setAttribute(String, Object).SupportsInformalParametersWorker Checks for theSupportsInformalParametersannotation, settting the corresponding flag on the model if present.UnclaimedFieldWorker Designed to be just about the last worker in the pipeline.