|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface Asset
Defines a new asset. The asset will have the same name as the property (and will be accessible
via the "asset:" binding prefix, or using IComponent.getAsset(String)
,
with that name).
Note: if we ever rename IAsset to Asset, this will cause a naming conflict. Perhaps we should come up with annotation names that are compatible with a potential rename.
Required Element Summary | |
---|---|
String |
value
The value is the asset path, which may include a prefix to define the module in which it can be resolved. |
Element Detail |
---|
public abstract String value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |