@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @UseWith(value=SERVICE) public @interface PreventServiceDecoration
MasterObjectProvider
, or services
contributed to MasterObjectProvider, are good candidates for this annotation.
The annotation can be applied to service implementation class or to a service builder method in a module class.
The annotation may also be placed on a module class, to indicate that all services defined for the module should not
allow decoration.
Service decoration includes the decoration mechanism (from Tapestry 5.0) and the newer service advice mechanism (from
Tapestry 5.1).ServiceDef2.isPreventDecoration()
Copyright © 2003-2012 The Apache Software Foundation.