On Feb 7, 2007, at 10:21 AM, Raymond Feng wrote:
Hi, Jim.
Let me explain the DataBindingInterceptor part.
In this case, I pass the CompositeComponent as a metadata in the
transformation context so that the transformers can access the
extensions (SCAObject.getExtensions) of the CompositeComponent. The
extensions contain some information (such as the TypeHelper for the
composite) built from SCDL extensibility elements such as
<import.sdo>. This is a workaround to support the load/build for
SCDL extensibility elements.
Thanks Raymond for the response...
This seems problematic, particularly since we are passing
CompositeComponent just to use extensibility elements in an untyped
way. Wouldn't it be better to do this through some type of typed
context (e.g. for extensibility elements, which themselves may need
to be untyped) for the post processor? I generally prefer APIs to be
explicit about what they are passing around.
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]