|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor
org.apache.tuscany.sca.implementation.java.introspect.impl.DestroyProcessor
public class DestroyProcessor
Processes the @Destroy
annotation on a component implementation and
updates the component type with the decorated destructor method
Field Summary |
---|
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor |
---|
assemblyFactory |
Constructor Summary | |
---|---|
DestroyProcessor(AssemblyFactory factory)
|
Method Summary | |
---|---|
void |
visitMethod(java.lang.reflect.Method method,
JavaImplementation type)
A callback received as the component implementation's public and protected methods are evaluated |
Methods inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor |
---|
visitClass, visitConstructor, visitConstructorParameter, visitEnd, visitField, visitSuperClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DestroyProcessor(AssemblyFactory factory)
Method Detail |
---|
public void visitMethod(java.lang.reflect.Method method, JavaImplementation type) throws IntrospectionException
JavaClassVisitor
visitMethod
in interface JavaClassVisitor
visitMethod
in class BaseJavaClassVisitor
method
- the current public or protected method being evaluatedtype
- the incomplete component type associated with the
implementation class
IntrospectionException
- if an error is encountered while processing
metadata
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |