| org.netbeans.modules.spring.api.beans.model.SpringBeans
All known Subclasses: org.netbeans.modules.spring.beans.model.ConfigModelSpringBeans,
SpringBeans | public interface SpringBeans (Code) | | Encapsulates the root of a Spring config model. It provides access to the
list of bean definitions and useful methods for retrieving beans
by id, etc.
author: Andrei Badea |
Method Summary | |
SpringBean | findBean(String name) Finds a bean by its id or name.
Parameters: name - the bean id or name; never null. | SpringBean | findBean(File file, String id) Finds a bean by its id in the given beans config file.
Parameters: name - the bean id; never null. Parameters: file - the file to look in. | List<SpringBean> | getBeans(File file) Returns the list of beans in the specified beans config file.
Parameters: file - the beans config file. | List<SpringBean> | getBeans() Returns the list of beans in the Spring config model. |
findBean | SpringBean findBean(String name)(Code) | | Finds a bean by its id or name.
Parameters: name - the bean id or name; never null. the bean with the specified id or name; null if no suchbean was found. |
findBean | SpringBean findBean(File file, String id)(Code) | | Finds a bean by its id in the given beans config file.
Parameters: name - the bean id; never null. Parameters: file - the file to look in. the bean with the specified id or null if no suchbean could be found or file was not usedto create the contents of this SpringBeans . |
getBeans | List<SpringBean> getBeans(File file)(Code) | | Returns the list of beans in the specified beans config file.
Parameters: file - the beans config file. the list of beans or null if file was not usedto create the contents of this SpringBeans . |
getBeans | List<SpringBean> getBeans()(Code) | | Returns the list of beans in the Spring config model.
the list of beans; never null . |
|
|