org.apache.commons.ognl.test.objects
Class BeanProviderImpl

java.lang.Object
  extended by org.apache.commons.ognl.test.objects.BeanProviderImpl
All Implemented Interfaces:
Serializable, BeanProvider

public class BeanProviderImpl
extends Object
implements Serializable, BeanProvider

Implementation of BeanProvider.

See Also:
Serialized Form

Constructor Summary
BeanProviderImpl()
           
 
Method Summary
 Object getBean(String name)
          Gets a bean by name.
 void setBean(String name, Object bean)
          Sets a new bean mapping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanProviderImpl

public BeanProviderImpl()
Method Detail

getBean

public Object getBean(String name)
Description copied from interface: BeanProvider
Gets a bean by name.

Specified by:
getBean in interface BeanProvider
Returns:
the related bean by name

setBean

public void setBean(String name,
                    Object bean)
Description copied from interface: BeanProvider
Sets a new bean mapping.

Specified by:
setBean in interface BeanProvider


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