Moved from ldap.support.transaction to ldap.transaction and ldap.transaction.core

This commit is contained in:
Mattias Arthursson
2007-01-21 18:23:34 +00:00
parent 8cc86d61ef
commit fdbb158d64
50 changed files with 119 additions and 74 deletions

View File

@@ -32,7 +32,7 @@
-->
<bean id="contextSource"
class="org.springframework.ldap.support.transaction.TransactionAwareContextSourceProxy">
class="org.springframework.ldap.transaction.core.TransactionAwareContextSourceProxy">
<constructor-arg ref="contextSourceTarget" />
</bean>
@@ -48,7 +48,7 @@
</bean>
-->
<bean id="ldapTransactionManager"
class="org.springframework.ldap.support.transaction.ContextSourceTransactionManager">
class="org.springframework.ldap.transaction.core.ContextSourceTransactionManager">
<property name="contextSource" ref="contextSourceTarget" />
</bean>
<!--
@@ -59,7 +59,7 @@
-->
<bean name="dummyDaoTarget"
class="org.springframework.ldap.support.transaction.DummyDaoImpl">
class="org.springframework.ldap.transaction.core.DummyDaoImpl">
<property name="ldapTemplate" ref="ldapTemplate" />
<!--
<property name="jdbcTemplate" ref="jdbcTemplate" />

View File

@@ -1,4 +1,4 @@
package org.springframework.ldap.support.transaction;
package org.springframework.ldap.transaction.core;
import javax.naming.NamingException;
import javax.naming.directory.Attributes;

View File

@@ -1,4 +1,4 @@
package org.springframework.ldap.support.transaction;
package org.springframework.ldap.transaction.core;
public interface DummyDao {
void createWithException(String country, String company, String fullname,

View File

@@ -1,4 +1,4 @@
package org.springframework.ldap.support.transaction;
package org.springframework.ldap.transaction.core;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.ldap.core.DirContextAdapter;

View File

@@ -1,4 +1,4 @@
package org.springframework.ldap.support.transaction;
package org.springframework.ldap.transaction.core;
public class DummyException extends RuntimeException {
public DummyException(String message) {

View File

@@ -1,4 +1,4 @@
package org.springframework.ldap.support.transaction;
package org.springframework.ldap.transaction.core;
public class DummyServiceImpl {
private DummyDao dummyDaoImpl;