org.java.plugin.extension.annotations
Annotation Type Extension


@Inherited
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Extension

Used to mark classes as extensions. The extended ExtensionPoint must provide a parameter called 'class' ! The annotated class's name is taken as class parameter (you do not have to specify this parameter manually)


Required Element Summary
 java.lang.String value
          Specify the unique id of the extension point
 
Optional Element Summary
 java.lang.String id
          Specify a extension id.
 Parameter[] parameter
          Optional set of parameters
 

Element Detail

value

public abstract java.lang.String value
Specify the unique id of the extension point

Returns:
uniqueID extension point

id

public abstract java.lang.String id
Specify a extension id. The default id will be thas full class name of the annotated class

Returns:
Default:
""

parameter

public abstract Parameter[] parameter
Optional set of parameters

Returns:
parameter list
Default:
{}


Copyright © 2010. All Rights Reserved.