public final class InventoryBeanProvider extends Object implements BeanProvider
InventoryBeanProvider is a bean provider that provides InventoryBeans. This class is a singleton, as no state is maintained.
This provider expects that the bound object provides int / int[] values, which are the product id(s) that need to be read.
| Modifier and Type | Method and Description |
|---|---|
Object |
getBean(BeanProviderBound beanProviderBound)
Retrieves the bean for the bound object.
|
static InventoryBeanProvider |
getInstance() |
public static InventoryBeanProvider getInstance()
public Object getBean(BeanProviderBound beanProviderBound)
getBean in interface BeanProviderbeanProviderBound - the object bound to this provider.Copyright © 2016. All rights reserved.