Weaver 3.1.0a1-D1

com.oldlight.weaver.context
Interface WeaverLocalContext

All Known Implementing Classes:
WeaverLocalContextImpl

public interface WeaverLocalContext

The WeaverLocalContext interface manages local-scoped values.

Author:
Paul Harvey

Method Summary
 Object getAttribute(String name)
          Gets a locally scoped attribute.
 void removeAttribute(String name)
          Removes a locally scoped attribute.
 void setAttribute(String name, Object value)
          Sets a locally scoped attribute.
 

Method Detail

setAttribute

public void setAttribute(String name,
                         Object value)
Sets a locally scoped attribute.

Parameters:
name - Name of the attribute to set.
value - Value to set the attribute to.

getAttribute

public Object getAttribute(String name)
Gets a locally scoped attribute.

Parameters:
name - Name of the attribute to retrieve.
Returns:
The retrieved value or null if the value cannot be found.

removeAttribute

public void removeAttribute(String name)
Removes a locally scoped attribute.

Parameters:
name - Name of the attribute to remove.

Copyright ©Paul Harvey