Il giorno 20/apr/05, alle 16:58, Sebastien Arbogast ha scritto:
So I think the ideal solution for me would be Ugo's : wrapping HSQLDB into a Spring component to make it initialized before application context... Could you give me some hints ?
See the following bean definition in the applicationContext.xml file:
<bean id="hsqlServer" class="org.apache.cocoon.petstore.database.HsqlServer"
init-method="start" destroy-method="stop">
</bean>
Now find the HsqlServer.java file and you shoud see how it's implemented.
Ugo
-- Ugo Cei Tech Blog: http://agylen.com/ Source.zone: http://sourcezone.info/ Wine & Food Blog: http://www.divinocibo.it/
smime.p7s
Description: S/MIME cryptographic signature
