Annotations for Tapestry IOC services
Enum Summary Enum Description AnnotationUseContextConstants for documenting the context wherein the tapestry-provided annotations may be used, in conjunction with
Annotation Types Summary Annotation Type Description AdviseAn annotation that may be placed on a advisor method of a module. AutobuildDirects that the value to be built should be an autobuild instance of the type with injections performed, via ObjectLocator.html#autobuild(Class). ComponentClassesMarker annotation used to inject the correct InvalidationEventHub service responsible for invalidations when underlying component class files are changed. ComponentLayerMarker annotation used to identify a service from the component layer that conflicts, in terms of service interface, with a service from elsewhere. ContributeAn annotation that may be placed on a contributor method of a module. DecorateAn annotation that may be placed on a decorator method of a module. DescriptionAnnotation used by Tapestry to describe the annotated class or package in runtime, specially in the T5Dashboard page. EagerLoadMarker 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. ImportModuleAttached to a module class, this annotation identifies other module classes that should also be added to the Registry. IncompatibleChange InjectThis annotation serves is something of the Swiss Army knife for operations related to injection of dependencies into an arbitrary method of Java Bean. InjectResource Deprecated.Deprecated in Tapestry 5.3, to be removed in a later release. InjectServiceAnnotation used with parameters of service builder methods to identify the service to be injected into the service builder method via the parameter. IntermediateTypeUsed to guide Tapestry when coercing from a raw type to a field or parameter type, by forcing Tapestry to coerce to the intermediate type. LocalA special marker annotation which limits the search for possible services to just the same module containing the service being injected. MarkerUsed to define one or more ServiceDef#getMarkers() marker annotations for a service implementation. MatchOptional, but typically used, annotation for service decorator methods, used to define which services the decorator applies to. NotLazyMarks a method as specifically not-lazy, even if other methods in the same interface are being advised as lazy. OperationDescribes a method as one that should be operation tracked. OptionalMarks 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. OrderUsed with a service decorator method to control the order in which decorations occur. PostInjectionAnnotation for methods that should be invoked after injection. PreventServiceDecorationMarks a service as not eligible for decoration. PrimaryMarker annotation used to denote a service that is the primary instance of some common interface. ScopeAn optional annotation that may be placed on a service building method of a module, or on the implementation class (when using service binding). ServiceIdAn optional annotation that may be placed on a service building method of a module, or on the implementation class (when using service binding via the
StartupAn annotation that may be placed on a startup method of a module. SubModule Deprecated.Deprecated in 5.4, use
SymbolUsed to inject a symbol value, via a symbol name. UsesConfigurationA documentation-only interface placed on service interfaces for services which have an unordered configuration, to identify the type of contribution. UsesMappedConfigurationA 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. UsesOrderedConfigurationA documentation-only interface placed on service interfaces for services which have an ordered configuration, to identify the type of contribution. UseWithAnnotation documenting the context(s) in which tapestry-provided annotations may be used. ValueUsed in conjunction with
Injectto inject a literal value, rather than a service.