org.ow2.mind.adl.annotation
Interface ADLLoaderAnnotationProcessor

All Known Implementing Classes:
AbstractADLLoaderAnnotationProcessor, SingletonAnnotationProcessor, UseIDLAnnotationProcessor

public interface ADLLoaderAnnotationProcessor

Interface implemented by component that process annotations during ADL loading.

See Also:
ADLLoaderProcessor

Method Summary
 org.objectweb.fractal.adl.Definition processAnnotation(Annotation annotation, org.objectweb.fractal.adl.Node node, org.objectweb.fractal.adl.Definition definition, ADLLoaderPhase phase, java.util.Map<java.lang.Object,java.lang.Object> context)
          Process the given annotation that has been found on the given node that belongs to the given definition.
 

Method Detail

processAnnotation

org.objectweb.fractal.adl.Definition processAnnotation(Annotation annotation,
                                                       org.objectweb.fractal.adl.Node node,
                                                       org.objectweb.fractal.adl.Definition definition,
                                                       ADLLoaderPhase phase,
                                                       java.util.Map<java.lang.Object,java.lang.Object> context)
                                                       throws org.objectweb.fractal.adl.ADLException
Process the given annotation that has been found on the given node that belongs to the given definition.

Parameters:
annotation - the annotation to process
node - the node on which the annotation has been found
definition - the enclosing definition
phase - the current loading phase
context - additional parameters
Returns:
the new enclosing definition if it is different from the given one, null otherwise.
Throws:
org.objectweb.fractal.adl.ADLException - if an error occurs.


Copyright © 2009-2011 OW2. All Rights Reserved.