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)
BeanFactory
find
in interface BeanFactory
aId
- Id of the bean.public <T> T find(Class<T> aClass)
find
in interface BeanFactory
public <T> T find(String aId, Class<T> aClass)
find
in interface BeanFactory
public org.springframework.beans.factory.BeanFactory getSpringBeanFactory()
Copyright © 2022. All rights reserved.