Bean that will start an instance of an HSQL database. This class is primarily intended to be
used in demo applications. It allows for a self contained distribution including a database
instance. The DataSource reference is necessary for proper shutdown.
This is an example of a bean configuration:
<bean id="dataBase" class="org.openspaces.persistency.utils.HsqlServerBean"
singleton="true" lazy-init="false">
<property name="dataSource"><ref local="dataSource"/></property>
<property name="serverProperties">
<props>
<prop key="server.port">9101</prop>
<prop key="server.database.0">webapps/myapp/db/test</prop>
<prop key="server.dbname.0">test</prop>
</props>
</property>
</bean>