|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImplementationProcessor
Implementations process class-level metadata, typically parsing annotations and updating the corresponding
ComponentType
. A processor may, for example, create a JavaMappedProperty
which is responsible
for injecting a complex type on a component implementation instance when it is instantiated.
Method Summary | ||
---|---|---|
|
visitClass(CompositeComponent parent,
Class<T> clazz,
PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type,
DeploymentContext context)
A callback received when the component implementation class is first loaded |
|
|
visitConstructor(CompositeComponent parent,
Constructor<T> constructor,
PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type,
DeploymentContext context)
A callback received as the component implementation's constructor used for instantiation by the runtime is evaluated. |
|
|
visitEnd(CompositeComponent parent,
Class<T> clazz,
PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type,
DeploymentContext context)
The final callback received when all other callbacks during evaluation of the component implementation have been issued |
|
void |
visitField(CompositeComponent parent,
Field field,
PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type,
DeploymentContext context)
A callback received as the component implementation's public and protected fields are evaluated |
|
void |
visitMethod(CompositeComponent parent,
Method method,
PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type,
DeploymentContext context)
A callback received as the component implementation's public and protected methods are evaluated |
|
|
visitSuperClass(CompositeComponent parent,
Class<T> clazz,
PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type,
DeploymentContext context)
A callback received as the component implementation class hierarchy is evaluated |
Method Detail |
---|
<T> void visitClass(CompositeComponent parent, Class<T> clazz, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, DeploymentContext context) throws ProcessingException
parent
- the parent compositeclazz
- the component implementation classtype
- the incomplete component type associated with the implementation classcontext
- the current deployment context
ProcessingException
- if an error is encountered while processing metadata<T> void visitSuperClass(CompositeComponent parent, Class<T> clazz, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, DeploymentContext context) throws ProcessingException
parent
- the parent compositeclazz
- the superclass in the component implmentation's class hierarchytype
- the incomplete component type associated with the implementation classcontext
- the current deployment context
ProcessingException
- if an error is encountered while processing metadatavoid visitMethod(CompositeComponent parent, Method method, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, DeploymentContext context) throws ProcessingException
parent
- the parent compositemethod
- the current public or protected method being evaluatedtype
- the incomplete component type associated with the implementation classcontext
- the current deployment context
ProcessingException
- if an error is encountered while processing metadata<T> void visitConstructor(CompositeComponent parent, Constructor<T> constructor, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, DeploymentContext context) throws ProcessingException
parent
- the parent compositeconstructor
- the constructor used for instantiating component implementation instancestype
- the incomplete component type associated with the implementation classcontext
- the current deployment context
ProcessingException
- if an error is encountered while processing metadatavoid visitField(CompositeComponent parent, Field field, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, DeploymentContext context) throws ProcessingException
parent
- the parent compositefield
- the current public or protected field being evaluatedtype
- the incomplete component type associated with the implementation classcontext
- the current deployment context
ProcessingException
- if an error is encountered while processing metadata<T> void visitEnd(CompositeComponent parent, Class<T> clazz, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, DeploymentContext context) throws ProcessingException
parent
- the parent compositeclazz
- the component implementation classtype
- the incomplete component type associated with the implementation classcontext
- the current deployment context
ProcessingException
- if an error is encountered while processing metadata
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |