
rint.print-lib.3.10.8.source-code.mapfish-spring-application-context-override.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans default-lazy-init="true" xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> <!-- This file is intentionally left empty. Other plugins/configurations can add a file with the same name and the beans in that file will override the beans defined in the other default spring configuration files --> <!-- Uncomment this to use hibernate instead of the registry to store the job queue. configure the data source as well --> <!-- <bean id="jobQueue" class="org.mapfish.print.servlet.job.impl.hibernate.HibernateJobQueue" /> <bean id="mfDataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="org.postgresql.Driver" /> <property name="url" value="jdbc:postgresql://localhost/jobs" /> <property name="username" value="jobs" /> <property name="password" value="jobs" /> </bean> --> <!-- Uncomment this to force the job manager the support clustering, by not taking submitted jobs automatically as its own. This mode requires the hibernate job queue, the registry job queue is unsupported. oldFileCleanUp should be turned off if hibernate is used for print job results (see below) --> <!-- <bean class="org.springframework.beans.factory.config.PropertyOverrideConfigurer" > <property name="ignoreResourceNotFound" value="true"/> <property name="properties"> <props> <prop key="jobManager.clustered">true</prop> <prop key="jobManager.oldFileCleanUp">false</prop> </props> </property> </bean> --> <!-- Uncomment this to use hibernate to read and write print job results --> <!-- <bean id="printJobPrototype" class="org.mapfish.print.servlet.job.impl.hibernate.HibernatePrintJob" scope="prototype"/> <bean id="fileReportLoader" class="org.mapfish.print.servlet.job.impl.hibernate.HibernateReportLoader"/> --> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy