| org.apache.hivemind.lib.BeanFactory
All known Subclasses: org.apache.hivemind.lib.factory.BeanFactoryImpl,
BeanFactory | public interface BeanFactory (Code) | | Service interface for a source of beans of a particular type.
Bean instances are retrieved using a locator string which is of the form:
name[,initializer] . That is, an optional initializer is
may be specified, separated by a comma.
Beans may be cached or not.
The hivemind.lib.BeanFactoryBuilder service is used to create services
implementing this interface (driven from a configuration).
author: Howard Lewis Ship |
Method Summary | |
public boolean | contains(String locator) Returns true if a bean matching the provided locator has been
defined. | public Object | get(String locator) Gets a bean via its locator (it's name plus, optionally, an initializer). |
contains | public boolean contains(String locator)(Code) | | Returns true if a bean matching the provided locator has been
defined.
Parameters: locator - the name or name and initializer true if a bean matching the provided locator has ben defined |
|
|