net.sourceforge.basher.example.tasks.spring
Class SampleSpringBeanFactory
java.lang.Object
net.sourceforge.basher.example.tasks.spring.SampleSpringBeanFactory
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanFactory
public class SampleSpringBeanFactory
- extends Object
- implements org.springframework.beans.factory.BeanFactory
- Author:
- Johan Lindquist
Fields inherited from interface org.springframework.beans.factory.BeanFactory |
FACTORY_BEAN_PREFIX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleSpringBeanFactory
public SampleSpringBeanFactory()
initializeService
public void initializeService()
getBean
public Object getBean(String s)
throws org.springframework.beans.BeansException
- Specified by:
getBean
in interface org.springframework.beans.factory.BeanFactory
- Throws:
org.springframework.beans.BeansException
getBean
public <T> T getBean(String s,
Class<T> tClass)
throws org.springframework.beans.BeansException
- Specified by:
getBean
in interface org.springframework.beans.factory.BeanFactory
- Throws:
org.springframework.beans.BeansException
getBean
public <T> T getBean(Class<T> tClass)
throws org.springframework.beans.BeansException
- Specified by:
getBean
in interface org.springframework.beans.factory.BeanFactory
- Throws:
org.springframework.beans.BeansException
getBean
public Object getBean(String s,
Object... objects)
throws org.springframework.beans.BeansException
- Specified by:
getBean
in interface org.springframework.beans.factory.BeanFactory
- Throws:
org.springframework.beans.BeansException
containsBean
public boolean containsBean(String s)
- Specified by:
containsBean
in interface org.springframework.beans.factory.BeanFactory
isSingleton
public boolean isSingleton(String s)
throws org.springframework.beans.factory.NoSuchBeanDefinitionException
- Specified by:
isSingleton
in interface org.springframework.beans.factory.BeanFactory
- Throws:
org.springframework.beans.factory.NoSuchBeanDefinitionException
isPrototype
public boolean isPrototype(String s)
throws org.springframework.beans.factory.NoSuchBeanDefinitionException
- Specified by:
isPrototype
in interface org.springframework.beans.factory.BeanFactory
- Throws:
org.springframework.beans.factory.NoSuchBeanDefinitionException
isTypeMatch
public boolean isTypeMatch(String s,
Class aClass)
throws org.springframework.beans.factory.NoSuchBeanDefinitionException
- Specified by:
isTypeMatch
in interface org.springframework.beans.factory.BeanFactory
- Throws:
org.springframework.beans.factory.NoSuchBeanDefinitionException
getType
public Class<?> getType(String s)
throws org.springframework.beans.factory.NoSuchBeanDefinitionException
- Specified by:
getType
in interface org.springframework.beans.factory.BeanFactory
- Throws:
org.springframework.beans.factory.NoSuchBeanDefinitionException
getAliases
public String[] getAliases(String s)
- Specified by:
getAliases
in interface org.springframework.beans.factory.BeanFactory
Copyright © 2006-2010 Basher Team. All Rights Reserved.