Annotation Interface TemplateAccessible


@Documented @Retention(RUNTIME) @Target({METHOD,CONSTRUCTOR,FIELD}) public @interface TemplateAccessible
Indicates that the the annotated member can be exposed to templates; if the annotated member will be actually exposed depends on the ObjectWrapper in use, and how that was configured. When used with BeansWrapper or its subclasses, most notably with DefaultObjectWrapper, and you also set the MemberAccessPolicy to a WhitelistMemberAccessPolicy, it will acts as if the members annotated with this are in the whitelist. Note that adding something to the whitelist doesn't necessary make it visible from templates; see WhitelistMemberAccessPolicy documentation.
Since:
2.3.30