Added relevant @since JavaDoc tags.

This commit is contained in:
Erwin Vervaet
2008-01-04 14:28:27 +00:00
parent 5ca24bf55d
commit 2b749540ea
3 changed files with 8 additions and 2 deletions

View File

@@ -52,6 +52,7 @@ public class MapAccessor implements MapAdaptable {
* Returns a value in the map, returning null if the attribute is not present.
* @param key the key
* @return the value
* @since 1.0.5
*/
public Object get(Object key) {
return map.get(key);

View File

@@ -44,7 +44,7 @@ public class SessionBindingConversationManager implements ConversationManager {
/**
* The name of the session attribute that will hold the conversation container used by this conversation manager.
*
* <p>
* To support multiple independent conversation containers in the same web application, for example, for use with
* multiple flow executors each configured with their own session-binding conversation manager, set this field's
* value to something unique.
@@ -65,6 +65,7 @@ public class SessionBindingConversationManager implements ConversationManager {
/**
* Returns the used generator for conversation ids. Defaults to {@link RandomGuidUidGenerator}.
* @since 1.0.1
*/
public UidGenerator getConversationIdGenerator() {
return conversationIdGenerator;
@@ -79,6 +80,7 @@ public class SessionBindingConversationManager implements ConversationManager {
/**
* Returns the maximum number of allowed concurrent conversations. The default is 5.
* @since 1.0.1
*/
public int getMaxConversations() {
return maxConversations;
@@ -104,6 +106,7 @@ public class SessionBindingConversationManager implements ConversationManager {
* binding conversation managers are used in the same web application to back independent flow executors, this value
* should be unique among them.
* @param sessionKey the session key
* @since 1.0.5
*/
public void setSessionKey(String sessionKey) {
this.sessionKey = sessionKey;

View File

@@ -25,13 +25,15 @@ import org.springframework.webflow.test.execution.AbstractXmlFlowExecutionTests;
/**
* A trivial stub action implementation that can be parameterized to return a particular action execution result. Useful
* for simulating different action results a flow should be capable of responding to.
*
* <p>
* Instances of this class can be conveniently installed in the bean factory that hosts the Web Flow action
* implementations in a test environment by overriding <code>registerMockServices</code> on
* {@link AbstractExternalizedFlowExecutionTests}. If you are using a XML-based flow definition with a flow-local
* context to host your actions, consider overriding <code>registerLocalMockServices</code> on
* {@link AbstractXmlFlowExecutionTests} to install mock instances.
*
* @since 1.0.5
*
* @author Keith Donald
*/
public class MockAction implements Action {