
ng-cli.1.24.5.source-code.cliContext.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appng-cli Show documentation
Show all versions of appng-cli Show documentation
appNG Command Line Interface
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:oxm="http://www.springframework.org/schema/oxm" xmlns:context="http://www.springframework.org/schema/context" xmlns:jpa="http://www.springframework.org/schema/data/jpa" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/oxm http://www.springframework.org/schema/oxm/spring-oxm.xsd http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd"> <context:component-scan base-package="org.appng.core"> <context:exclude-filter type="regex" expression="org.appng.core.controller.rest.*" /> <context:exclude-filter type="regex" expression="org.appng.core.controller.PlatformConfig" /> </context:component-scan> <jpa:repositories base-package="org.appng.core.repository" entity-manager-factory-ref="entityManagerFactory" factory-class="org.appng.persistence.repository.SearchRepositoryFactoryBean" transaction-manager-ref="coreTxManager" /> <tx:annotation-driven transaction-manager="coreTxManager" /> <bean class="org.appng.core.domain.PlatformEventListener"> <property name="auditUser" value="appNG CLI" /> <property name="eventProvider" ref="cliEventProvider" /> </bean> <bean id="cliEventProvider" class="org.appng.cli.CliEventProvider" /> <bean id="coreTxManager" class="org.springframework.orm.jpa.JpaTransactionManager"> <property name="entityManagerFactory" ref="entityManagerFactory" /> <qualifier value="coreTxManager" /> </bean> <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean"> <property name="persistenceUnitName" value="appNG CLI" /> <property name="persistenceProviderClass" value="org.hibernate.jpa.HibernatePersistenceProvider" /> <property name="jpaProperties"> <props> <prop key="hibernate.dialect">${hibernate.dialect}</prop> <prop key="hibernate.connection.driver_class">${hibernate.connection.driver_class}</prop> <prop key="hibernate.connection.url">${hibernate.connection.url}</prop> <prop key="hibernate.connection.username">${hibernate.connection.username}</prop> <prop key="hibernate.connection.password">${hibernate.connection.password}</prop> <prop key="hibernate.show_sql">${hibernate.show_sql:false}</prop> <prop key="hibernate.format_sql">${hibernate.format_sql:false}</prop> <prop key="hibernate.hbm2ddl.auto">${hibernate.hbm2ddl.auto:}</prop> </props> </property> </bean> <bean id="entityManager" class="org.springframework.orm.jpa.support.SharedEntityManagerBean"> <property name="entityManagerFactory" ref="entityManagerFactory" /> </bean> <bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"> <property name="basename" value="messages-core" /> <property name="fallbackToSystemLocale" value="false" /> </bean> <bean id="marshallService" class="org.appng.xml.MarshallService" factory-method="getMarshallService" /> <bean id="conversionService" class="org.springframework.context.support.ConversionServiceFactoryBean" /> <bean id="databaseService" class="org.appng.core.service.DatabaseService" /> <bean id="ldapService" class="org.appng.core.service.LdapService" /> <bean id="coreService" class="org.appng.core.service.CoreService" /> <bean id="initializerService" class="org.appng.core.service.InitializerService" /> <bean id="templateService" class="org.appng.core.service.TemplateService" /> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy