|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.core.io.DefaultResourceLoader
org.springframework.context.support.AbstractApplicationContext
org.springframework.context.support.GenericApplicationContext
org.robotframework.javalib.context.KeywordApplicationContext
public class KeywordApplicationContext
An application context for keyword beans. Decorates methods by normalizing bean names while registering and getting beans.
| Field Summary |
|---|
| Fields inherited from class org.springframework.context.support.AbstractApplicationContext |
|---|
APPLICATION_EVENT_MULTICASTER_BEAN_NAME, logger, MESSAGE_SOURCE_BEAN_NAME |
| Fields inherited from interface org.springframework.context.ConfigurableApplicationContext |
|---|
CONFIG_LOCATION_DELIMITERS, LOAD_TIME_WEAVER_BEAN_NAME |
| Fields inherited from interface org.springframework.beans.factory.BeanFactory |
|---|
FACTORY_BEAN_PREFIX |
| Fields inherited from interface org.springframework.beans.factory.BeanFactory |
|---|
FACTORY_BEAN_PREFIX |
| Fields inherited from interface org.springframework.core.io.support.ResourcePatternResolver |
|---|
CLASSPATH_ALL_URL_PREFIX |
| Fields inherited from interface org.springframework.core.io.ResourceLoader |
|---|
CLASSPATH_URL_PREFIX |
| Constructor Summary | |
|---|---|
KeywordApplicationContext()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getBean(java.lang.String name)
Gets a bean. |
java.lang.String[] |
getBeanNamesForType(java.lang.Class type)
|
void |
registerBeanDefinition(java.lang.String name,
org.springframework.beans.factory.config.BeanDefinition beanDefinition)
Registers a bean definition with original id and creates a normalized alias. |
| Methods inherited from class org.springframework.context.support.GenericApplicationContext |
|---|
closeBeanFactory, getBeanDefinition, getBeanFactory, getDefaultListableBeanFactory, getResource, getResources, isAlias, isBeanNameInUse, refreshBeanFactory, registerAlias, removeAlias, removeBeanDefinition, setParent, setResourceLoader |
| Methods inherited from class org.springframework.context.support.AbstractApplicationContext |
|---|
addApplicationListener, addBeanFactoryPostProcessor, addListener, cancelRefresh, close, containsBean, containsBeanDefinition, containsLocalBean, destroy, destroyBeans, doClose, finishBeanFactoryInitialization, finishRefresh, getAliases, getApplicationListeners, getAutowireCapableBeanFactory, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeanNamesForType, getBeansOfType, getBeansOfType, getDisplayName, getId, getInternalParentBeanFactory, getInternalParentMessageSource, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getResourcePatternResolver, getStartupDate, getType, initApplicationEventMulticaster, initMessageSource, invokeBeanFactoryPostProcessors, isActive, isPrototype, isRunning, isSingleton, isTypeMatch, obtainFreshBeanFactory, onClose, onRefresh, postProcessBeanFactory, prepareBeanFactory, prepareRefresh, publishEvent, refresh, registerBeanPostProcessors, registerListeners, registerShutdownHook, setDisplayName, setId, start, stop, toString |
| Methods inherited from class org.springframework.core.io.DefaultResourceLoader |
|---|
getClassLoader, getResourceByPath, setClassLoader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.springframework.beans.factory.support.BeanDefinitionRegistry |
|---|
containsBeanDefinition, getBeanDefinitionCount, getBeanDefinitionNames |
| Methods inherited from interface org.springframework.core.AliasRegistry |
|---|
getAliases |
| Methods inherited from interface org.springframework.core.io.ResourceLoader |
|---|
getClassLoader |
| Constructor Detail |
|---|
public KeywordApplicationContext()
| Method Detail |
|---|
public void registerBeanDefinition(java.lang.String name,
org.springframework.beans.factory.config.BeanDefinition beanDefinition)
throws org.springframework.beans.BeansException
registerBeanDefinition in interface org.springframework.beans.factory.support.BeanDefinitionRegistryregisterBeanDefinition in class org.springframework.context.support.GenericApplicationContextorg.springframework.beans.BeansExceptionBeanDefinitionRegistry.registerBeanDefinition(String, BeanDefinition)
public java.lang.Object getBean(java.lang.String name)
throws org.springframework.beans.BeansException
getBean in interface org.springframework.beans.factory.BeanFactorygetBean in class org.springframework.context.support.AbstractApplicationContextorg.springframework.beans.BeansExceptionBeanFactory.getBean(String)public java.lang.String[] getBeanNamesForType(java.lang.Class type)
getBeanNamesForType in interface org.springframework.beans.factory.ListableBeanFactorygetBeanNamesForType in class org.springframework.context.support.AbstractApplicationContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||