org.apache.tuscany.core.config.processor
Class ImplementationProcessorSupport
java.lang.Object
org.apache.tuscany.core.config.processor.ImplementationProcessorSupport
- All Implemented Interfaces:
- ImplementationProcessor
- Direct Known Subclasses:
- AutowireProcessor, ComponentNameProcessor, ContextProcessor, DefaultProcessor, DestroyProcessor, InitProcessor, MonitorProcessor, ParentContextProcessor, PropertyProcessor, PropertyReferenceValidator, ReferenceProcessor, ScopeProcessor, SDOHelperProcessor, ServiceProcessor
public abstract class ImplementationProcessorSupport
- extends Object
- implements ImplementationProcessor
A base implementation of an ImplementationProcessor
- Version:
- $$Rev$$ $$Date$$
Method Summary |
void |
init()
|
void |
setFactory(AssemblyFactory factory)
|
void |
setIntrospector(ComponentTypeIntrospector introspector)
|
void |
visitClass(Class<?> clazz,
ComponentType type)
|
void |
visitConstructor(Constructor<?> constructor,
ComponentType type)
|
void |
visitEnd(Class<?> clazz,
ComponentType type)
|
void |
visitField(Field field,
ComponentType type)
|
void |
visitInterface(Class clazz,
Annotation[] annotations,
ComponentType type)
|
void |
visitInterfaceMethod(Method method,
Annotation[] annotations,
ComponentType type)
|
void |
visitMethod(Method method,
ComponentType type)
|
void |
visitSuperClass(Class<?> clazz,
ComponentType type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
introspector
protected ComponentTypeIntrospector introspector
factory
protected AssemblyFactory factory
ImplementationProcessorSupport
protected ImplementationProcessorSupport(AssemblyFactory factory)
ImplementationProcessorSupport
protected ImplementationProcessorSupport()
init
public void init()
throws Exception
- Throws:
Exception
setIntrospector
public void setIntrospector(ComponentTypeIntrospector introspector)
setFactory
public void setFactory(AssemblyFactory factory)
visitClass
public void visitClass(Class<?> clazz,
ComponentType type)
throws ConfigurationLoadException
- Specified by:
visitClass
in interface ImplementationProcessor
- Throws:
ConfigurationLoadException
visitSuperClass
public void visitSuperClass(Class<?> clazz,
ComponentType type)
throws ConfigurationLoadException
- Specified by:
visitSuperClass
in interface ImplementationProcessor
- Throws:
ConfigurationLoadException
visitMethod
public void visitMethod(Method method,
ComponentType type)
throws ConfigurationLoadException
- Specified by:
visitMethod
in interface ImplementationProcessor
- Throws:
ConfigurationLoadException
visitConstructor
public void visitConstructor(Constructor<?> constructor,
ComponentType type)
throws ConfigurationLoadException
- Specified by:
visitConstructor
in interface ImplementationProcessor
- Throws:
ConfigurationLoadException
visitField
public void visitField(Field field,
ComponentType type)
throws ConfigurationLoadException
- Specified by:
visitField
in interface ImplementationProcessor
- Throws:
ConfigurationLoadException
visitInterface
public void visitInterface(Class clazz,
Annotation[] annotations,
ComponentType type)
throws ConfigurationLoadException
- Throws:
ConfigurationLoadException
visitInterfaceMethod
public void visitInterfaceMethod(Method method,
Annotation[] annotations,
ComponentType type)
throws ConfigurationLoadException
- Throws:
ConfigurationLoadException
visitEnd
public void visitEnd(Class<?> clazz,
ComponentType type)
throws ConfigurationLoadException
- Specified by:
visitEnd
in interface ImplementationProcessor
- Throws:
ConfigurationLoadException
-