Generated by
JDiff

org.springframework.mock.jndi Documentation Differences

This file contains all the changes in documentation in the package org.springframework.mock.jndi as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class ExpectedLookupTemplate

Simple extension of the JndiTemplate class that always returns a given given object.

Very useful for testing. Effectively a mock object. @author Rod Johnson @author Juergen Hoeller

Class ExpectedLookupTemplate, constructor ExpectedLookupTemplate()

Construct a new JndiTemplate that will always return given objects for given names. To be populated through addObject calls. @see #addObject(String, Object)
Class ExpectedLookupTemplate, constructor ExpectedLookupTemplate(String, Object)

Construct a new JndiTemplate that will always return the given object, but honour only requests for the given name. @param name the name the client is expected to look up @param object the object that will be returned
Class ExpectedLookupTemplate, void addObject(String, Object)

Add the given object to the list of JNDI objects that this template will will expose. @param name the name the client is expected to look up @param object the object that will be returned