org.objectweb.fractal.fraclet.annotation
Annotation Type Requires
@Target(value=FIELD)
public @interface Requires
An annotation to inject the binding controller implementation.
- Author:
- Nicolas Pessemier
name
public abstract String name
- Returns:
- the name of the bound Fractal interface
signature
public abstract Class<?> signature
- Returns:
- the signature of the interface (optional). Thanks to Java5 type
safety this parameter can be automatically computed, even with
collection interfaces (HashMap
collectionBinding)
- Default:
- org.objectweb.fractal.fraclet.annotation.generator.template.util.None.class
cardinality
public abstract Cardinality cardinality
- Returns:
- the cardinality[SINGLETON/COLLECTION] of the Fractal interface
- Default:
- SINGLETON
contingency
public abstract Contingency contingency
- Returns:
- the contingency[MANDATORY/OPTIONAL] of the Fractal interface
- Default:
- MANDATORY