|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packageorg.springframework.mock.jndi
as colored differences. Deletions are shownlike 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.
Simple extension of the JndiTemplate class that always returns aClass ExpectedLookupTemplate, constructor ExpectedLookupTemplate()givengiven object.Very useful for testing. Effectively a mock object.
@author Rod Johnson @author Juergen Hoeller
Construct a new JndiTemplate that will always return given objects for given names. To be populated throughClass ExpectedLookupTemplate, constructor ExpectedLookupTemplate(String, Object)addObject
calls.@see #addObject(String, Object)
Construct a new JndiTemplate that will always return the given object, but honour only requests for the given name.Class ExpectedLookupTemplate, void addObject(String, Object)@param name the name the client is expected to look up @param object the object that will be returned
Add the given object to the list of JNDI objects that this templatewillwill expose.@param name the name the client is expected to look up @param object the object that will be returned