com.google.code.rees.scope.session
Class SessionConfiguration

java.lang.Object
  extended by com.google.code.rees.scope.session.SessionConfiguration

public class SessionConfiguration
extends Object

This class is used to cache the fields and action IDs for all SessionFields.

Author:
rees.byars
See Also:
SessionConfigurationProvider}, SessionManager}

Constructor Summary
SessionConfiguration()
           
 
Method Summary
 void addField(Class<?> clazz, String name, Field field)
          Caches the given field in the configuration
 Map<String,Field> getFields(Class<?> clazz)
          Returns the cached fields for the given class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionConfiguration

public SessionConfiguration()
Method Detail

addField

public void addField(Class<?> clazz,
                     String name,
                     Field field)
Caches the given field in the configuration

Parameters:
clazz -
name -
field -

getFields

public Map<String,Field> getFields(Class<?> clazz)
Returns the cached fields for the given class

Parameters:
clazz -
Returns:


Copyright © 2012-2013. All Rights Reserved.