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.MethodResultCache Manages a cache value as the result of invoking a no-arguments method.ParameterConduit A facade aroundBinding
andInternalComponentResources
that is used to instrument fields with theParameter
annotation. -
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 theSessionState
annotations and converts read and write access on such fields into calls to theApplicationStateManager
.BindParameterWorker Responsible for identifying, via theBindParameter
annotation, 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 theComponent
annotation and updates the model.DiscardAfterWorker EnvironmentalWorker Obtains a value from theEnvironment
service based on the field type.EventHandlerMethodParameterSource Used to encapsulate the list ofEventHandlerMethodParameterProvider
s for a particular method of a particular component, providingOperationTracker
behavior as parameter values are obtained/computed/coerced.HeartbeatDeferredWorker ImportWorker Implements theImport
annotation, both at the class and at the method level.InjectComponentWorker Recognizes theInjectComponent
annotation, and converts the field into a read-only field containing the component.InjectContainerWorker Identifies theInjectContainer
annotation and adds code to initialize it to the core component.InjectNamedProvider InjectPageWorker Performs transformations that allow pages to be injected into components.InjectServiceWorker Processes theInjectService
annotation.InjectWorker LogWorker Looks for theLog
marker annotation and adds method advice to perform the logging.MixinAfterWorker Looks for theMixinAfter
annotation and sets themixinAfter flag
if present.MixinWorker Supports theMixin
annotation, 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 onOnEvent
annotations and naming conventions.OperationWorker Add support for theOperation
annotation on component class methods.PageActivationContextWorker Provides the page activation context handlers.PageLifecycleAnnotationWorker Similar toRenderPhaseMethodWorker
but applies to annotations/methods related to the overall page lifecycle.PageResetAnnotationWorker Implementation of thePageReset
annotation.ParameterWorker Responsible for identifying parameters via theParameter
annotation on component fields.PersistWorker Converts fields with thePersist
annotation into persistent fields.PropertyWorker Provides the getter and setter methods.ReadOnlyComponentFieldConduit An implementation ofFieldConduit
for a read-only component field.RenderCommandWorker Ensures that all components implementRenderCommand
by delegating toRenderCommand.render(org.apache.tapestry5.MarkupWriter, org.apache.tapestry5.runtime.RenderQueue)
.RenderPhaseMethodWorker Converts one of the methods ofComponent
into 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 theRetain
annotation, and "claims" them so that no special work will occur on them.SessionAttributeWorker Looks for theSessionAttribute
annotation and converts read and write access on such fields into calls to theSession.getAttribute(String)
andSession.setAttribute(String, Object)
.SupportsInformalParametersWorker Checks for theSupportsInformalParameters
annotation, settting the corresponding flag on the model if present.UnclaimedFieldWorker Designed to be just about the last worker in the pipeline.