Package org.apache.tapestry5.ioc.annotations
package org.apache.tapestry5.ioc.annotations
Annotations for Tapestry IOC services
-
ClassDescriptionAn annotation that may be placed on a advisor method of a module.Constants for documenting the context wherein the tapestry-provided annotations may be used, in conjunction with
UseWith
.Directs that the value to be built should be an autobuild instance of the type with injections performed, via ObjectLocator.html#autobuild(Class).Marker annotation used to inject the correct InvalidationEventHub service responsible for invalidations when underlying component class files are changed.Marker annotation used to identify a service from the component layer that conflicts, in terms of service interface, with a service from elsewhere.An annotation that may be placed on a contributor method of a module.An annotation that may be placed on a decorator method of a module.Annotation used by Tapestry to describe the annotated class or package in runtime, specially in the T5Dashboard page.Marker annotation placed on a service builder method to indicate that the service should be eagerly loaded: realized as if a service method had been invoked.Attached to a module class, this annotation identifies other module classes that should also be added to the Registry.This annotation serves is something of the Swiss Army knife for operations related to injection of dependencies into an arbitrary method of Java Bean.Deprecated.Deprecated in Tapestry 5.3, to be removed in a later release.Annotation used with parameters of service builder methods to identify the service to be injected into the service builder method via the parameter.Used to guide Tapestry when coercing from a raw type to a field or parameter type, by forcing Tapestry to coerce to the intermediate type.A special marker annotation which limits the search for possible services to just the same module containing the service being injected.Used to define one or more ServiceDef#getMarkers() marker annotations for a service implementation.Optional, but typically used, annotation for service decorator methods, used to define which services the decorator applies to.Marks a method as specifically not-lazy, even if other methods in the same interface are being advised as lazy.Describes a method as one that should be operation tracked.Marks a service contribution method within a module as being optional: it is not an error if the contribution does not match against an actual service.Used with a service decorator method to control the order in which decorations occur.Annotation for methods that should be invoked after injection.Marks a service as not eligible for decoration.Marker annotation used to denote a service that is the primary instance of some common interface.An optional annotation that may be placed on a service building method of a module, or on the implementation class (when using service binding).An optional annotation that may be placed on a service building method of a module, or on the implementation class (when using service binding via theServiceBinder
).An annotation that may be placed on a startup method of a module.Deprecated.Deprecated in 5.4, useImportModule
instead.Used to inject a symbol value, via a symbol name.A documentation-only interface placed on service interfaces for services which have an unordered configuration, to identify the type of contribution.A documentation-only interface placed on service interfaces for services which have a mapped configuration, to identify the type of key (often, a String), and type of contribution.A documentation-only interface placed on service interfaces for services which have an ordered configuration, to identify the type of contribution.Annotation documenting the context(s) in which tapestry-provided annotations may be used.Used in conjunction withInject
to inject a literal value, rather than a service.