Package org.apache.tapestry5.annotations


package org.apache.tapestry5.annotations
Contains annotations, primarily those used inside component classes as well as a few specific to the tapestry-core services layer.
  • Annotation Types
    Class
    Description
    Annotation that may be placed on parameters of event handler methods to define their names in OpenAPI description.
    Marks a field of a page (not a component) as persistent within the URL, as with a page activation context.
    Marker annotation for methods associated with the AfterRender phase.
    Corresponds to BeforeRenderBody, allowing additional markup after rendering the body of a component, but before rendering the rest of the component's template.
    Corresponds to BeforeRenderTemplate, allowing additional markup after rendering the component's template.
    Marks methods to be invoked when the component rendering state machine hits the point in the component's template where the body element occurs.
    Associated with components that have a template, this phase is invoked to allow the component to decorate its template with additional markup.
    Marker annotation for methods that should be executed at the start of rendering the component.
    Designates a field in a mixin which is bound to the parameter of the containing component corresponding to the value of the annotation.
    Indicates that a method should only be evaluated once per request and the result cached.
    Marker annotation for component methods associated with the terminal phase for the component rendering state machine.
    Used to define an embedded component within another component.
    An annotation on a page component used to identify the content type the page returns.
    Disables strict checks Tapestry-IoC or Tapestry may perform on methods.
    Marks a method of a page or a component to discard all persistent field changes.
    Defines a field of a component class that is replaced at runtime with a read-only value obtained from the Environment service.
    Annotation applied to components to document what events a component may trigger.
    Marks a component method as deferred until the end of the Heartbeat.
    Optional annotation, used with Inject, which exists to provide the id of an object when it can not be determined by other means (such as from the field name).
    Annotations to control the importing of JavaScript stacks and libraries as well as stylesheets.
    Allows components defined in the template to be injected as read-only properties.
    Used to inject the component which contains this component.
    Allows a a page (really, the root component of the page) to be injected into another component as a read-only field.
    Marker annotation for component methods to enable debug-level logging.
    Allows for the specification of per-component meta-data.
    Defines an implementation mixin for a component.
    A marker annotation applied to a mixin to indicate that the mixin's render state behavior is deferred until after the the behavior of the component to which the mixin is attached.
    Used to attach one or more instance mixins to an embedded component.
    Used to attach one ore more instance mixin to an embedded component.
    Marks a method as a handler for a client side event.
    Annotation for a field for which the page activation context handlers (onActivate and onPassivate) should be created.
    Method annotation used for methods that should be invoked when the page is first attached to a request.
    Method annotation used for methods that should be invoked when the page is detached at the end of a request, before it is returned to the page pool for later reuse.
    Method annotation used for methods that should be invoked once the page is fully loaded.
    Marker annotation for a method that should be invoked when a page is reset.
    Annotation placed on a field to indicate that it is, in fact, a component parameter.
    Used in conjunction with the Inject annotation to inject an Asset based on a path.
    Identifies a field as persistent, meaning its value persists from one request to the next.
    Annotation for fields for which accessor methods (getters and setters) should be created.
    Marks an event handler method to be published as an event to be called in JavaScript through the t5/core/ajax function when the options parameter has an element attribute.
    Annotation that may be placed on parameters of event handler methods, usually in page classes.
    Annotation that may be placed on parameters of event handler methods.
    Annotation that provides some information about REST event handler methods for OpenAPI description generation.
    Deprecated.
    This rarely used annotation is likely to cause threading issues starting in Tapestry 5.2 (which no longer pools pages but uses shared instances with externalized mutable state)
    A marker annotation that indicates that the page in question may only be accessed via HTTPS.
    Used in conjunction with the Inject annotation to identify a service by name and not by type.
    Used to map a property of a page or component to value stored in session.
    Marker annotation for a property that is a session state object (SSO) as controlled by the ApplicationStateManager.
    Marker annotation for methods that should be executed during the SetupRender phase.
    Annotation that may be placed on parameters of event handler methods to define them as having a static value.
    Used to identify a component that can support informal parameters.
    A marker annotation that indicates that the page in question may only be accessed with a exact activation context.
    Identifies a page that should only be accessed from clients on the whitelist.