Renamed ldap.transaction.core to ldap.transaction.support.
This commit is contained in:
@@ -129,9 +129,9 @@ public class PersonDaoImpl implements PersonDao {
|
||||
is nothing Spring-specific about this "Inversion of Control". Anyone that
|
||||
can create an instance of <literal>PersonDaoImpl</literal> can also set
|
||||
the <literal>LdapTemplate</literal> on it. However, Spring provides a very
|
||||
flexible and easy way of achieving this (see <ulink
|
||||
url="http://static.springframework.org/spring/docs/current/reference/beans.html">http://static.springframework.org/spring/docs/current/reference/beans.html</ulink>).
|
||||
The Spring container can be told to wire up an instance of
|
||||
flexible and easy way of <ulink
|
||||
url="http://static.springframework.org/spring/docs/current/reference/beans.html">achieving
|
||||
this</ulink>. The Spring container can be told to wire up an instance of
|
||||
<literal>LdapTemplate</literal> with its required dependencies and inject
|
||||
it into the <literal>PersonDao</literal> instance. This wiring can be
|
||||
defined in various ways, but the most common is through XML:</para>
|
||||
@@ -241,6 +241,20 @@ public class PersonDaoImpl implements PersonDao {
|
||||
</mediaobject>
|
||||
</figure>
|
||||
|
||||
<sect2 id="ldap.filter">
|
||||
<title>org.springframework.transaction.compensating</title>
|
||||
|
||||
<para>The <emphasis>transaction.compensating</emphasis> package contains
|
||||
the generic compensating transaction support. This is not LDAP-specific
|
||||
or JNDI-specific in any way.</para>
|
||||
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Dependencies: spring-dao, commons-logging</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="ldap">
|
||||
<title>org.springframework.ldap</title>
|
||||
|
||||
@@ -250,7 +264,7 @@ public class PersonDaoImpl implements PersonDao {
|
||||
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Dependencies: spring-core, spring-dao</para>
|
||||
<para>Dependencies: spring-core</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect2>
|
||||
@@ -266,7 +280,7 @@ public class PersonDaoImpl implements PersonDao {
|
||||
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Dependencies: ldap, ldap.support, spring-beans, spring-dao,
|
||||
<para>Dependencies: ldap, ldap.support, spring-beans,
|
||||
commons-collections, commons-lang, commons-logging</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
@@ -276,8 +290,7 @@ public class PersonDaoImpl implements PersonDao {
|
||||
<title>org.springframework.ldap.core.support</title>
|
||||
|
||||
<para>The <emphasis>ldap.core.support</emphasis> package contains
|
||||
supporting implementations of the central interfaces as well as the
|
||||
DirContextAdapter abstraction.</para>
|
||||
supporting implementations of some of the core interfaces.</para>
|
||||
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
@@ -291,13 +304,11 @@ public class PersonDaoImpl implements PersonDao {
|
||||
<title>org.springframework.ldap.support</title>
|
||||
|
||||
<para>The <emphasis>ldap.support</emphasis> package contains supporting
|
||||
implementations of the central interfaces as well as the
|
||||
DirContextAdapter abstraction.</para>
|
||||
utilities, like the exception translation mechanism.</para>
|
||||
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Dependencies: ldap, spring-core, spring-dao,
|
||||
commons-logging</para>
|
||||
<para>Dependencies: ldap, spring-core, commons-logging</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect2>
|
||||
@@ -330,8 +341,8 @@ public class PersonDaoImpl implements PersonDao {
|
||||
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Dependencies: ldap.core, ldap.support, LDAP booster pack,
|
||||
spring-core, commons-lang, commons-logging</para>
|
||||
<para>Dependencies: ldap, ldap.core, LDAP booster pack, spring-core,
|
||||
commons-lang, commons-logging</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect2>
|
||||
@@ -349,6 +360,35 @@ public class PersonDaoImpl implements PersonDao {
|
||||
</itemizedlist>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="ldap.filter">
|
||||
<title>org.springframework.ldap.transaction</title>
|
||||
|
||||
<para>The <emphasis>ldap.transaction</emphasis> package contains the
|
||||
core LDAP-specific implementation of compensating transactions.</para>
|
||||
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Dependencies: ldap, ldap.core, transaction.compensating,
|
||||
spring-core, spring-dao, commons-lang, commons-logging</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="ldap.filter">
|
||||
<title>org.springframework.ldap.transaction.support</title>
|
||||
|
||||
<para>The <emphasis>ldap.transaction.support</emphasis> package contains
|
||||
supporting transaction classes, like
|
||||
ContextSourceTransactionManager.</para>
|
||||
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Dependencies: ldap.core, ldap.transaction,
|
||||
transaction.compensating, spring-dao, commons-logging</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect2>
|
||||
|
||||
<para>For the exact list of jar dependencies, see the Spring LDAP <ulink
|
||||
url="http://jayasoft.org/ivy">Ivy</ulink> dependency manager descriptor
|
||||
located within the Spring LDAP distribution at
|
||||
@@ -358,7 +398,8 @@ public class PersonDaoImpl implements PersonDao {
|
||||
<sect1 id="introduction-support">
|
||||
<title>Support</title>
|
||||
|
||||
<para>Spring LDAP 1.2 is supported on Spring 1.2.8 or later.</para>
|
||||
<para>Spring LDAP 1.2 is supported on Spring 1.2.8 or later, including
|
||||
2.0.x.</para>
|
||||
|
||||
<para>The community support forum is located at <ulink
|
||||
url="http://forum.springframework.org">http://forum.springframework.org</ulink>,
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
</bean>
|
||||
|
||||
<bean id="contextSource"
|
||||
class="org.springframework.ldap.transaction.core.TransactionAwareContextSourceProxy">
|
||||
class="org.springframework.ldap.transaction.support.TransactionAwareContextSourceProxy">
|
||||
<constructor-arg ref="contextSourceTarget" />
|
||||
</bean>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
</bean>
|
||||
|
||||
<bean id="transactionManager"
|
||||
class="org.springframework.ldap.transaction.core.ContextSourceTransactionManager">
|
||||
class="org.springframework.ldap.transaction.support.ContextSourceTransactionManager">
|
||||
<constructor-arg ref="contextSource" />
|
||||
</bean>
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
</bean>
|
||||
|
||||
<bean id="contextSource"
|
||||
class="org.springframework.ldap.transaction.core.TransactionAwareContextSourceProxy">
|
||||
class="org.springframework.ldap.transaction.support.TransactionAwareContextSourceProxy">
|
||||
<constructor-arg ref="contextSourceTarget" />
|
||||
</bean>
|
||||
|
||||
@@ -47,21 +47,21 @@
|
||||
|
||||
<!--
|
||||
<bean id="ldapTransactionManager"
|
||||
class="org.springframework.ldap.transaction.core.ContextSourceTransactionManager">
|
||||
class="org.springframework.ldap.transaction.support.ContextSourceTransactionManager">
|
||||
<property name="contextSource" ref="contextSourceTarget" />
|
||||
</bean>
|
||||
|
||||
-->
|
||||
|
||||
<bean id="transactionManager"
|
||||
class="org.springframework.ldap.transaction.core.ContextSourceAndDataSourceTransactionManager">
|
||||
class="org.springframework.ldap.transaction.support.ContextSourceAndDataSourceTransactionManager">
|
||||
<property name="dataSource" ref="dataSource" />
|
||||
<property name="contextSource" ref="contextSource" />
|
||||
</bean>
|
||||
|
||||
|
||||
<bean name="dummyDaoTarget"
|
||||
class="org.springframework.ldap.transaction.core.LdapAndJdbcDummyDaoImpl">
|
||||
class="org.springframework.ldap.transaction.support.LdapAndJdbcDummyDaoImpl">
|
||||
<property name="ldapTemplate" ref="ldapTemplate" />
|
||||
<property name="jdbcTemplate" ref="jdbcTemplate" />
|
||||
</bean>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</bean>
|
||||
|
||||
<bean id="contextSource"
|
||||
class="org.springframework.ldap.transaction.core.TransactionAwareContextSourceProxy">
|
||||
class="org.springframework.ldap.transaction.support.TransactionAwareContextSourceProxy">
|
||||
<constructor-arg ref="contextSourceTarget" />
|
||||
</bean>
|
||||
|
||||
@@ -33,13 +33,13 @@
|
||||
</bean>
|
||||
|
||||
<bean id="transactionManager"
|
||||
class="org.springframework.ldap.transaction.core.ContextSourceTransactionManager">
|
||||
class="org.springframework.ldap.transaction.support.ContextSourceTransactionManager">
|
||||
<property name="contextSource" ref="contextSource" />
|
||||
</bean>
|
||||
|
||||
|
||||
<bean name="dummyDaoTarget"
|
||||
class="org.springframework.ldap.transaction.core.LdapDummyDaoImpl">
|
||||
class="org.springframework.ldap.transaction.support.LdapDummyDaoImpl">
|
||||
<property name="ldapTemplate" ref="ldapTemplate" />
|
||||
</bean>
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
@@ -30,6 +30,7 @@ import org.springframework.ldap.LdapServerManager;
|
||||
import org.springframework.ldap.NameNotFoundException;
|
||||
import org.springframework.ldap.core.AttributesMapper;
|
||||
import org.springframework.ldap.core.LdapTemplate;
|
||||
import org.springframework.ldap.transaction.support.ContextSourceAndDataSourceTransactionManager;
|
||||
import org.springframework.test.AbstractDependencyInjectionSpringContextTests;
|
||||
import org.springframework.transaction.support.TransactionSynchronizationManager;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import javax.naming.NamingException;
|
||||
import javax.naming.directory.Attributes;
|
||||
@@ -24,6 +24,7 @@ import org.springframework.ldap.LdapServerManager;
|
||||
import org.springframework.ldap.NameNotFoundException;
|
||||
import org.springframework.ldap.core.AttributesMapper;
|
||||
import org.springframework.ldap.core.LdapTemplate;
|
||||
import org.springframework.ldap.transaction.support.ContextSourceAndDataSourceTransactionManager;
|
||||
import org.springframework.test.AbstractDependencyInjectionSpringContextTests;
|
||||
import org.springframework.transaction.support.TransactionSynchronizationManager;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
public interface DummyDao {
|
||||
void createWithException(String country, String company, String fullname,
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
public class DummyException extends RuntimeException {
|
||||
public DummyException(String message) {
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
public class DummyServiceImpl {
|
||||
private DummyDao dummyDaoImpl;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import org.springframework.jdbc.core.JdbcTemplate;
|
||||
import org.springframework.ldap.core.DirContextAdapter;
|
||||
@@ -36,7 +36,7 @@ public class LdapAndJdbcDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#createWithException(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#createWithException(java.lang.String,
|
||||
* java.lang.String, java.lang.String, java.lang.String,
|
||||
* java.lang.String)
|
||||
*/
|
||||
@@ -49,7 +49,7 @@ public class LdapAndJdbcDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#create(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#create(java.lang.String,
|
||||
* java.lang.String, java.lang.String, java.lang.String,
|
||||
* java.lang.String)
|
||||
*/
|
||||
@@ -73,7 +73,7 @@ public class LdapAndJdbcDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#update(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#update(java.lang.String,
|
||||
* java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void update(String dn, String fullname, String lastname,
|
||||
@@ -93,7 +93,7 @@ public class LdapAndJdbcDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#updateWithException(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#updateWithException(java.lang.String,
|
||||
* java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void updateWithException(String dn, String fullname,
|
||||
@@ -105,7 +105,7 @@ public class LdapAndJdbcDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#updateAndRename(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#updateAndRename(java.lang.String,
|
||||
* java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void updateAndRename(String dn, String newDn, String description) {
|
||||
@@ -120,7 +120,7 @@ public class LdapAndJdbcDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#updateAndRenameWithException(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#updateAndRenameWithException(java.lang.String,
|
||||
* java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void updateAndRenameWithException(String dn, String newDn,
|
||||
@@ -132,7 +132,7 @@ public class LdapAndJdbcDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#modifyAttributes(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#modifyAttributes(java.lang.String,
|
||||
* java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void modifyAttributes(String dn, String lastName, String description) {
|
||||
@@ -146,7 +146,7 @@ public class LdapAndJdbcDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#modifyAttributesWithException(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#modifyAttributesWithException(java.lang.String,
|
||||
* java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void modifyAttributesWithException(String dn, String lastName,
|
||||
@@ -158,7 +158,7 @@ public class LdapAndJdbcDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#unbind(java.lang.String)
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#unbind(java.lang.String)
|
||||
*/
|
||||
public void unbind(String dn, String fullname) {
|
||||
ldapTemplate.unbind(dn);
|
||||
@@ -169,7 +169,7 @@ public class LdapAndJdbcDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#unbindWithException(java.lang.String)
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#unbindWithException(java.lang.String)
|
||||
*/
|
||||
public void unbindWithException(String dn, String fullname) {
|
||||
unbind(dn, fullname);
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import org.springframework.ldap.core.DirContextAdapter;
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
@@ -29,7 +29,7 @@ public class LdapDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#createWithException(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#createWithException(java.lang.String,
|
||||
* java.lang.String, java.lang.String, java.lang.String,
|
||||
* java.lang.String)
|
||||
*/
|
||||
@@ -42,7 +42,7 @@ public class LdapDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#create(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#create(java.lang.String,
|
||||
* java.lang.String, java.lang.String, java.lang.String,
|
||||
* java.lang.String)
|
||||
*/
|
||||
@@ -64,7 +64,7 @@ public class LdapDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#update(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#update(java.lang.String,
|
||||
* java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void update(String dn, String fullname, String lastname,
|
||||
@@ -80,7 +80,7 @@ public class LdapDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#updateWithException(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#updateWithException(java.lang.String,
|
||||
* java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void updateWithException(String dn, String fullname,
|
||||
@@ -92,7 +92,7 @@ public class LdapDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#updateAndRename(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#updateAndRename(java.lang.String,
|
||||
* java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void updateAndRename(String dn, String newDn, String description) {
|
||||
@@ -107,7 +107,7 @@ public class LdapDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#updateAndRenameWithException(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#updateAndRenameWithException(java.lang.String,
|
||||
* java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void updateAndRenameWithException(String dn, String newDn,
|
||||
@@ -119,7 +119,7 @@ public class LdapDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#modifyAttributes(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#modifyAttributes(java.lang.String,
|
||||
* java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void modifyAttributes(String dn, String lastName, String description) {
|
||||
@@ -133,7 +133,7 @@ public class LdapDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#modifyAttributesWithException(java.lang.String,
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#modifyAttributesWithException(java.lang.String,
|
||||
* java.lang.String, java.lang.String)
|
||||
*/
|
||||
public void modifyAttributesWithException(String dn, String lastName,
|
||||
@@ -145,7 +145,7 @@ public class LdapDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#unbind(java.lang.String)
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#unbind(java.lang.String)
|
||||
*/
|
||||
public void unbind(String dn, String fullname) {
|
||||
ldapTemplate.unbind(dn);
|
||||
@@ -154,7 +154,7 @@ public class LdapDummyDaoImpl implements DummyDao {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.springframework.ldap.transaction.core.DummyDao#unbindWithException(java.lang.String)
|
||||
* @see org.springframework.ldap.transaction.support.DummyDao#unbindWithException(java.lang.String)
|
||||
*/
|
||||
public void unbindWithException(String dn, String fullname) {
|
||||
unbind(dn, fullname);
|
||||
@@ -17,7 +17,7 @@ package org.springframework.ldap.transaction;
|
||||
|
||||
import javax.naming.directory.DirContext;
|
||||
|
||||
import org.springframework.ldap.transaction.core.TransactionAwareContextSourceProxy;
|
||||
import org.springframework.ldap.transaction.support.TransactionAwareContextSourceProxy;
|
||||
|
||||
/**
|
||||
* Helper interface to be able to get hold of the target DirContext from proxies
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import org.springframework.jdbc.datasource.DataSourceTransactionManager;
|
||||
import org.springframework.ldap.core.ContextSource;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import org.springframework.ldap.core.ContextSource;
|
||||
import org.springframework.ldap.transaction.TempEntryRenamingStrategy;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import javax.naming.NamingException;
|
||||
import javax.naming.directory.DirContext;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import org.springframework.ldap.transaction.DirContextHolder;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import java.lang.reflect.Proxy;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import java.lang.reflect.InvocationHandler;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import javax.naming.directory.DirContext;
|
||||
|
||||
@@ -8,9 +8,9 @@ import org.easymock.MockControl;
|
||||
import org.springframework.ldap.core.ContextSource;
|
||||
import org.springframework.ldap.transaction.DirContextHolder;
|
||||
import org.springframework.ldap.transaction.TempEntryRenamingStrategy;
|
||||
import org.springframework.ldap.transaction.core.ContextSourceTransactionManager;
|
||||
import org.springframework.ldap.transaction.core.ContextSourceTransactionObject;
|
||||
import org.springframework.ldap.transaction.core.TransactionAwareContextSourceProxy;
|
||||
import org.springframework.ldap.transaction.support.ContextSourceTransactionManager;
|
||||
import org.springframework.ldap.transaction.support.ContextSourceTransactionObject;
|
||||
import org.springframework.ldap.transaction.support.TransactionAwareContextSourceProxy;
|
||||
import org.springframework.transaction.TransactionDefinition;
|
||||
import org.springframework.transaction.compensating.CompensatingTransactionOperationManager;
|
||||
import org.springframework.transaction.support.DefaultTransactionStatus;
|
||||
@@ -1,9 +1,9 @@
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import javax.naming.Name;
|
||||
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.ldap.transaction.core.DefaultTempEntryRenamingStrategy;
|
||||
import org.springframework.ldap.transaction.support.DefaultTempEntryRenamingStrategy;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import javax.naming.Name;
|
||||
|
||||
import org.springframework.ldap.core.DistinguishedName;
|
||||
import org.springframework.ldap.transaction.core.DifferentSubtreeTempEntryRenamingStrategy;
|
||||
import org.springframework.ldap.transaction.support.DifferentSubtreeTempEntryRenamingStrategy;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.ldap.transaction.core;
|
||||
package org.springframework.ldap.transaction.support;
|
||||
|
||||
import javax.naming.directory.DirContext;
|
||||
import javax.naming.ldap.LdapContext;
|
||||
@@ -23,6 +23,7 @@ import junit.framework.TestCase;
|
||||
import org.easymock.MockControl;
|
||||
import org.springframework.ldap.core.ContextSource;
|
||||
import org.springframework.ldap.transaction.DirContextProxy;
|
||||
import org.springframework.ldap.transaction.support.TransactionAwareContextSourceProxy;
|
||||
|
||||
/**
|
||||
* Tests for {@link TransactionAwareContextSourceProxy}.
|
||||
Reference in New Issue
Block a user