@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface Dependency
JavaScript
interface dependencies which needs to be loaded before interface's method can be invoked.JavaScript
Modifier and Type | Optional Element and Description |
---|---|
Class<?>[] |
interfaces
Array of dependencies - interfaces annotated by
JavaScript annotation. |
String[] |
sources
Array of URLs pointing to resources containing needed JavaScript source code.
|
public abstract String[] sources
public abstract Class<?>[] interfaces
JavaScript
annotation.Copyright © 2016 JBoss by Red Hat. All rights reserved.