|
Spring Framework example source code file (inject.xml)
The Spring Framework inject.xml source code<?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:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"> <context:annotation-config/> <bean id="dao" class="org.springframework.orm.jpa.support.PersistenceInjectionTests$DefaultPublicPersistenceUnitSetterNamedPerson"/> <bean class="org.springframework.orm.jpa.support.PersistenceInjectionTests$DefaultPublicPersistenceContextSetter"/> <bean class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor"> <property name="proxyTargetClass" value="true"/> </bean> <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" lazy-init="true"> <property name="targetObject" ref="dao"/> <property name="targetMethod" value="toString"/> </bean> </beans> Other Spring Framework examples (source code examples)Here is a short list of links related to this Spring Framework inject.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.