You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by ant elder <an...@gmail.com> on 2006/01/20 17:40:47 UTC
custom RuntimeConfigurationBuilder
Still trying to get a new component type to work, right now I can't see how
to get my new RuntimeConfigurationBuilder impl picked up.
In o.a.t.core.context.impl.TuscanyModuleComponentContextImpl in the start
method its hard coded with the class name "
org.apache.tuscany.container.java.builder.JavaComponentContextBuilder":
http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/context/impl/TuscanyModuleComponentContextImpl.java
There is a FIXME comment saying "come up with a better configuration for
this".
Does this mean right now its impossible to implement new component types?
Thanks,
...ant
Re: custom RuntimeConfigurationBuilder
Posted by Jim Marino <jm...@myroma.net>.
This is going to be changed once we do the cutover to the aggregate
context stuff. Part of the problem with TMCCImpl is that it "news" up
a bunch of classes that should be provided through configuration/
injection. In the new way of doing things, builders will be special
system components that are provided to the runtime. This is already
implemented in the unit tests. For specifics, I would start with the
description of "architecture" and "assembly" in my sandbox (/sandbox/
jim) and then look at the unit tests in o.a.t.core.system under [core
project]src/test/java.
I'm interested in getting feedback on this so if you can start with
that and send questions/comments as they arise to the list. it would
be much appreciated.
Jim
On Jan 20, 2006, at 8:40 AM, ant elder wrote:
> Still trying to get a new component type to work, right now I can't
> see how
> to get my new RuntimeConfigurationBuilder impl picked up.
>
> In o.a.t.core.context.impl.TuscanyModuleComponentContextImpl in the
> start
> method its hard coded with the class name "
> org.apache.tuscany.container.java.builder.JavaComponentContextBuilder"
> :
>
> http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/core/src/
> main/java/org/apache/tuscany/core/context/impl/
> TuscanyModuleComponentContextImpl.java
>
> There is a FIXME comment saying "come up with a better
> configuration for
> this".
>
> Does this mean right now its impossible to implement new component
> types?
>
> Thanks,
>
> ...ant
>