cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: svn commit: r315008 - /cocoon/blocks/ojb/trunk/WEB-INF/xconf/cocoon-ojb.xconf
Date Mon, 17 Oct 2005 13:27:35 GMT
Chasing preload="true", I came across this.

AFAIU, these components need to be created at startup to setup static 
variables that are later used by new instances of the same classes 
created from OBJ.properties. Am I right? This looks weird...

Sylvain


cziegeler@apache.org wrote:
> Author: cziegeler
> Date: Wed Oct 12 12:21:55 2005
> New Revision: 315008
>
> URL: http://svn.apache.org/viewcvs?rev=315008&view=rev
> Log:
> preload components
>
> Modified:
>     cocoon/blocks/ojb/trunk/WEB-INF/xconf/cocoon-ojb.xconf
>
> Modified: cocoon/blocks/ojb/trunk/WEB-INF/xconf/cocoon-ojb.xconf
> URL: http://svn.apache.org/viewcvs/cocoon/blocks/ojb/trunk/WEB-INF/xconf/cocoon-ojb.xconf?rev=315008&r1=315007&r2=315008&view=diff
> ==============================================================================
> --- cocoon/blocks/ojb/trunk/WEB-INF/xconf/cocoon-ojb.xconf (original)
> +++ cocoon/blocks/ojb/trunk/WEB-INF/xconf/cocoon-ojb.xconf Wed Oct 12 12:21:55 2005
> @@ -26,12 +26,12 @@
>    <!-- OJB Logger -->
>    <component role="org.apache.cocoon.ojb.components.Logger"
>               class="org.apache.cocoon.ojb.components.LoggerImpl"
> -             logger="ojb"/>
> +             logger="ojb" preload="true"/>
>  
>    <!-- OJB Connection Factory -->
>    <component role="org.apache.cocoon.ojb.components.ConnectionFactory"
>               class="org.apache.cocoon.ojb.components.ConnectionFactoryImpl"
> -             logger="core.ojb"/>
> +             logger="core.ojb" preload="true"/>
>  
>    <!-- OJB Persistent Manager Factory for JDO.
>         Requires javax.jdo package.
>   


-- 
Sylvain Wallez                        Anyware Technologies
http://people.apache.org/~sylvain     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


Mime
View raw message