com.ibatis.sqlmap.engine.scope
Interface Scope

All Known Implementing Classes:
BaseScope

public interface Scope

An interface to simplify access to different scopes (contexts?)


Method Summary
 java.lang.Object getAttribute(java.lang.Object key)
          Gets a named object out of the scope
 void reset()
          Clears all data out of the scope
 void setAttribute(java.lang.Object key, java.lang.Object value)
          Puts a named value into the scope
 

Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.Object key)
Gets a named object out of the scope

Parameters:
key - - the name of the object to get
Returns:
the object

setAttribute

public void setAttribute(java.lang.Object key,
                         java.lang.Object value)
Puts a named value into the scope

Parameters:
key - - the name of the object to put
value - - the value to associate with that name

reset

public void reset()
Clears all data out of the scope