Top Description Methods
javax.portlet.annotations

public @Interface Dependency

extends Annotation
Annotations
@Retention:RUNTIME
@Target:ANNOTATION_TYPE
Imports
java.lang.annotation.Retention, .Target

This annotation is used within composite portlet configuration annotations to represent dependencies the portlet may have on external resources. The resources can represent client-side prerequisites such as JavaScript libraries or stylesheet resources that are shared among portlets.

This annotation cannot be used as a stand-alone portlet annotation.

Since
3.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The resource name
name
()

The resource name.
public String

Returns:

The name of the scope containing the resource
scope
()

The scope name.
public String

Returns:

The minimum acceptable module version
version
()

The minimum acceptable module version.
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

nameback to summary
public String name()

The resource name.
Returns:String

The resource name

scopeback to summary
public String scope()

The scope name.
Returns:String

The name of the scope containing the resource

versionback to summary
public String version()

The minimum acceptable module version.
Returns:String

The minimum acceptable module version