Weaver 3.1.0a1-D1

com.oldlight.weaver.context
Interface WeaverBeanContext

All Known Implementing Classes:
WeaverBeanContextImpl

public interface WeaverBeanContext

The WeaverBeanContext interface manages values supplied to W-Beans via the param tag.

Author:
Paul Harvey

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

Method Detail

setAttribute

public void setAttribute(String name,
                         Object value)
Sets a bean-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 bean-scoped attribute.

Parameters:
name - Name of the attribute to retieve.
Returns:
Value of the named attribue - or null if the attribute cannot be found.

removeAttribute

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

Parameters:
name - Name of the attribute to remove.

Copyright ©Paul Harvey