org.apache.commons.ognl.test.objects
Interface BeanProvider

All Known Implementing Classes:
BeanProviderImpl

public interface BeanProvider

Test interface to be used with a custom propery accessor.


Method Summary
 Object getBean(String name)
          Gets a bean by name.
 void setBean(String name, Object bean)
          Sets a new bean mapping.
 

Method Detail

getBean

Object getBean(String name)
Gets a bean by name.

Parameters:
name -
Returns:
the related bean by name

setBean

void setBean(String name,
             Object bean)
Sets a new bean mapping.

Parameters:
name -
bean -


Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.