public class SpringBeanFactory extends Object implements BeanFactory
org.wamblee.general.BeanKernel because it does not
provide a default no-arg constructor. Therefore, it must be delegated to or
it must tbe subclassed to provide a default constructor.| Constructor and Description |
|---|
SpringBeanFactory(String aSelector,
String aFactoryName)
Constructs the bean factory.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
find(Class<T> aClass) |
Object |
find(String aId)
Finds a bean based on id.
|
<T> T |
find(String aId,
Class<T> aClass) |
org.springframework.beans.factory.BeanFactory |
getSpringBeanFactory()
Gets the spring bean factory.
|
public Object find(String aId)
BeanFactoryfind in interface BeanFactoryaId - Id of the bean.public <T> T find(Class<T> aClass)
find in interface BeanFactorypublic <T> T find(String aId, Class<T> aClass)
find in interface BeanFactorypublic org.springframework.beans.factory.BeanFactory getSpringBeanFactory()
Copyright © 2025. All rights reserved.