THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
To create a Module which supports a Component Type, you need to implement a series of interfaces to the Tuscany Core, plus a set of related files which declare your Module to the core:
- xxxModuleActivator class, which implements the ModuleActivator interface
- ModuleActivator file
- xxxArtifactProcessor class
How does a Component Type Module declare the XML that it handles?
...
- Registration of xxxArtifactProcessor, which handles the <implementation.xxx..../> XML
- Registration of xxxComponentBuilder, which builds a component of the type handled by the module
- Registration of xxxPropertyValueObjectFactory xxxPropertyValueObjectFactory
The ModuleActivator file
...
Code Block |
---|
# Implementation class for the ExtensionActivator for module Foo org.apache.tuscany.implementation.foo.FooModuleActivator |
The xxxArtifactProcessor class
This class is called to deal with the XML in the composite SCDL files which relates to the implementation type - ie. <implementation.xxx.../>