|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor org.apache.tuscany.sca.implementation.java.introspect.impl.ConstructorProcessor
public class ConstructorProcessor
Handles processing of a constructor decorated with
Constructor
Field Summary |
---|
Fields inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor |
---|
assemblyFactory |
Constructor Summary | |
---|---|
ConstructorProcessor(AssemblyFactory factory)
|
Method Summary | ||
---|---|---|
|
visitClass(java.lang.Class<T> clazz,
JavaImplementation type)
A callback received when the component implementation class is first loaded |
|
|
visitConstructor(java.lang.reflect.Constructor<T> constructor,
JavaImplementation type)
A callback received as the component implementation's constructor used for instantiation by the runtime is evaluated. |
Methods inherited from class org.apache.tuscany.sca.implementation.java.introspect.impl.BaseJavaClassVisitor |
---|
visitConstructorParameter, visitEnd, visitField, visitMethod, visitSuperClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstructorProcessor(AssemblyFactory factory)
Method Detail |
---|
public <T> void visitClass(java.lang.Class<T> clazz, JavaImplementation type) throws IntrospectionException
JavaClassVisitor
visitClass
in interface JavaClassVisitor
visitClass
in class BaseJavaClassVisitor
clazz
- the component implementation classtype
- the incomplete component type associated with the
implementation class
IntrospectionException
- if an error is encountered while processing
metadatapublic <T> void visitConstructor(java.lang.reflect.Constructor<T> constructor, JavaImplementation type) throws IntrospectionException
JavaClassVisitor
visitConstructor
in interface JavaClassVisitor
visitConstructor
in class BaseJavaClassVisitor
constructor
- the constructor used for instantiating component
implementation instancestype
- 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 |