|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.spi.implementation.java.ImplementationProcessorExtension
public abstract class ImplementationProcessorExtension
A convenience class for annotation processors which alleviates the need to implement unused callbacks
Constructor Summary | |
---|---|
ImplementationProcessorExtension()
|
Method Summary | ||
---|---|---|
void |
destroy()
|
|
void |
init()
|
|
void |
setRegistry(IntrospectionRegistry registry)
|
|
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImplementationProcessorExtension()
Method Detail |
---|
public void setRegistry(IntrospectionRegistry registry)
public void init()
public void destroy()
public <T> void visitClass(CompositeComponent parent, Class<T> clazz, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, DeploymentContext context) throws ProcessingException
ImplementationProcessor
visitClass
in interface ImplementationProcessor
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 metadatapublic <T> void visitSuperClass(CompositeComponent parent, Class<T> clazz, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, DeploymentContext context) throws ProcessingException
ImplementationProcessor
visitSuperClass
in interface ImplementationProcessor
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 metadatapublic void visitMethod(CompositeComponent parent, Method method, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, DeploymentContext context) throws ProcessingException
ImplementationProcessor
visitMethod
in interface ImplementationProcessor
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 metadatapublic <T> void visitConstructor(CompositeComponent parent, Constructor<T> constructor, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, DeploymentContext context) throws ProcessingException
ImplementationProcessor
visitConstructor
in interface ImplementationProcessor
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 metadatapublic void visitField(CompositeComponent parent, Field field, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, DeploymentContext context) throws ProcessingException
ImplementationProcessor
visitField
in interface ImplementationProcessor
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 metadatapublic <T> void visitEnd(CompositeComponent parent, Class<T> clazz, PojoComponentType<JavaMappedService,JavaMappedReference,JavaMappedProperty<?>> type, DeploymentContext context) throws ProcessingException
ImplementationProcessor
visitEnd
in interface ImplementationProcessor
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 |