You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Tagunov Anthony <at...@nnt.ru> on 2001/03/18 19:29:58 UTC
Fwd: Service Changes
Hello, all!
Please do tell me if i shouldn't have forwarded this to the list..
==================BEGIN FORWARDED MESSAGE==================
Hi Guys,
I have finished making my changes to the service code
to ensure that the services are initialized in the order
they are listed in TR.props.
I made quite a few changes so I would like to test a little
more tomorrow morning before I commit everything. I have
touched a lot of the service code, so could I have until
tomorrow afternoon to get the changes in before anyone
else commits any changes. Please :-)
It took me a while because I switched Turbine over to using
the Configuration class from Velocity. The Configuration class
was originally taken from Turbine and is an amalgamation
of ConfigrationRepository/Configurations/ExtendedProperties.
I have added methods to the Configuration class that make
it simple to keep properties ordered, easily create Configuration
subsets, easily convert Properties to Configurations ... I
have eliminated quite a bit of redundant code.
The changes I made will probably affect cocoon because
a Configuration class is now used to create the mapping
between service names and the corresponding class. Again
because the Configuration class automatically deals with
correct ordering. Cocoon uses the initMapping(Hashtable h)
which I've changed to initMapping(Configuration c) so
I'd like to take a look at their code first too.
Variants of the Configuration class are now used in
Velocity, Turbine and Cocoon so I would also like to
try and get the Configuration class into org.apache.util...,
so that it can be shared. It's a simple class but
it's very useful I think.
All the changes will be in early tomorrow afternoon (EST).
Thanks.
--
jvz.
Jason van Zyl
jvanzyl@periapt.com
http://jakarta.apache.org/velocity
http://jakarta.apache.org/turbine
http://tambora.zenplex.org
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
===================END FORWARDED MESSAGE===================
Best regards,
Tagunov Anthony
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Fwd: Service Changes
Posted by Giacomo Pati <gi...@apache.org>.
Tagunov Anthony wrote:
>
> Hello, all!
>
> Please do tell me if i shouldn't have forwarded this to the list..
Thanks Anthony
Quite interesting to see another Configuration floating around in
apache.org. It impacts C1 only because it uses Turbines connections
pool. C2 is based on Avalon components and uses the Avalon connection
pools (with thanks to Berin :).
The "amalgamation" is/was a Turbine feature as I recall from several
month ago :) (as well as the "RunData" object.
Giacomo
>
> ==================BEGIN FORWARDED MESSAGE==================
> Hi Guys,
>
> I have finished making my changes to the service code
> to ensure that the services are initialized in the order
> they are listed in TR.props.
>
> I made quite a few changes so I would like to test a little
> more tomorrow morning before I commit everything. I have
> touched a lot of the service code, so could I have until
> tomorrow afternoon to get the changes in before anyone
> else commits any changes. Please :-)
>
> It took me a while because I switched Turbine over to using
> the Configuration class from Velocity. The Configuration class
> was originally taken from Turbine and is an amalgamation
> of ConfigrationRepository/Configurations/ExtendedProperties.
> I have added methods to the Configuration class that make
> it simple to keep properties ordered, easily create Configuration
> subsets, easily convert Properties to Configurations ... I
> have eliminated quite a bit of redundant code.
>
> The changes I made will probably affect cocoon because
> a Configuration class is now used to create the mapping
> between service names and the corresponding class. Again
> because the Configuration class automatically deals with
> correct ordering. Cocoon uses the initMapping(Hashtable h)
> which I've changed to initMapping(Configuration c) so
> I'd like to take a look at their code first too.
>
> Variants of the Configuration class are now used in
> Velocity, Turbine and Cocoon so I would also like to
> try and get the Configuration class into org.apache.util...,
> so that it can be shared. It's a simple class but
> it's very useful I think.
>
> All the changes will be in early tomorrow afternoon (EST).
> Thanks.
>
> --
> jvz.
>
> Jason van Zyl
> jvanzyl@periapt.com
>
> http://jakarta.apache.org/velocity
> http://jakarta.apache.org/turbine
> http://tambora.zenplex.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>
> ===================END FORWARDED MESSAGE===================
>
> Best regards,
> Tagunov Anthony
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org