On Feb 28, 2007, at 1:21 PM, Raymond Feng wrote:
Hi,
I can see the pain. Two related questions:
1) To contribute a loader without a base class, I'll have to
implement all methods in StAXElementLoader interface, right?
I don't think that is what Jeremy has in mind but was instead
proposing a declarative loader extension, i.e. no code is written or
generated. I'll let him explain...
2) Can the following SCDL declaration achieve the same goal as you
proposed?
<component name="myLoader">
<implementation.java
class="org.apache.tuscany.core.loader.LoaderExtension"/> <!-- this
class serves as the id of the extension point -->
<property name="modelObject">com.example.MyModelObject</property>
</component>
I much prefer we model this as an implementation type. Conceptually
it seems more of a fit and will probably be a lot easier for tools to
deal with, including Notepad or TextEdit :-)
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]