@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface ResourceDependencies
Container annotation to specify multiple
ResourceDependency
annotations on a single class. Example:
@ResourceDependencies( {
@ResourceDependency(library="corporate", name="css_master.css"),
@ResourceDependency(library="client01", name="layout.css"),
@ResourceDependency(library="corporate", name="typography.css"),
@ResourceDependency(library="client01", name="colorAndMedia.css"),
@ResourceDependency(library="corporate", name="table2.css"),
@ResourceDependency(library="fancy", name="commontaskssection.css"),
@ResourceDependency(library="fancy", name="progressBar.css"),
@ResourceDependency(library="fancy", name="css_ns6up.css")
})
The action described in ResourceDependency
must be taken for each
@ResourceDependency
present in the container
annotation.
Modifier and Type | Required Element and Description |
---|---|
ResourceDependency[] |
value |
public abstract ResourceDependency[] value
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.