public interface BeanStore
Definition of an interface for objects that provide access to bean definitions.
 A BeanStore maintains an arbitrary number of bean definitions,
 which are identified by unique names. It is possible to list the names of all
 available bean definitions, and to access a specific bean definition by its
 name.
 
 BeanStores are hierarchical structures: they can have a
 parent. A typical search algorithm an a BeanStore
 will first query the local store, and then - if the specified bean
 definition could not be found - delegate to its parent store. This allows for
 complex scenarios where global objects can be defined on the application
 level, while certain sub contexts have the opportunity of overriding some
 definitions and define their own local data.
 
This interface is kept quite simple. It should be easy to implement it, e.g. using a map or another context-like object.
| Modifier and Type | Method and Description | 
|---|---|
BeanProvider | 
getBeanProvider(String name)
Returns the  
BeanProvider that is registered under the
 given name or null if cannot be found. | 
ConversionHelper | 
getConversionHelper()
Returns a  
ConversionHelper object for performing type conversions
 on the beans contained in this BeanStore. | 
String | 
getName()
Returns a name for this bean store. 
 | 
BeanStore | 
getParent()
Returns a reference to the parent  
BeanStore. | 
Set<String> | 
providerNames()
Returns a set with the names of all  
BeanProvider objects
 that are registered in this bean store. | 
BeanProvider getBeanProvider(String name)
BeanProvider that is registered under the
 given name or null if cannot be found.name - the name of the BeanProviderSet<String> providerNames()
BeanProvider objects
 that are registered in this bean store.BeanProvidersString getName()
BeanStore getParent()
BeanStore. Bean stores
 can be organized in a hierarchical manner: if a bean provider cannot be
 found in a specific bean store, the framework will also search its parent
 bean store (and recursively the parent's parent, and so on). This makes
 it possible to create different scopes of beans. The root store should
 return null.ConversionHelper getConversionHelper()
ConversionHelper object for performing type conversions
 on the beans contained in this BeanStore. To the hierarchy of
 BeanStore objects also ConversionHelper objects can be
 added. This is useful when dealing with specialized beans for which
 custom converters have to be provided. A ConversionHelper is
 optional, so an implementation can return null. It is then up to
 the caller whether it uses a default ConversionHelper instance or
 tries to query the parent bean store.ConversionHelper instance for performing type
         conversions related to the beans contained in this storeCopyright © 2016 The JGUIraffe Team. All rights reserved.