public abstract class IocNamedContextFactory extends Object implements org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
| Modifier | Constructor and Description |
|---|---|
protected |
IocNamedContextFactory(Class<?> defaultConfigType) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.context.annotation.AnnotationConfigApplicationContext |
createContext(String name) |
void |
destroy() |
protected String |
generateDisplayName(String name) |
List<AnnotatedClassProcessor<?>> |
getClassProcessors() |
protected org.springframework.context.annotation.AnnotationConfigApplicationContext |
getContext(String name) |
Map<Class<? extends Annotation>,IocContract<?>> |
getContracts() |
<T> T |
getInstance(String name,
Class<T> type) |
List<IocMethodInterceptor<?>> |
getMethodInterceptors() |
List<AnnotatedMethodProcessor<?>> |
getMethodProcessors() |
List<AnnotatedParameterProcessor<?>> |
getParameterProcessors() |
<T> org.springframework.beans.factory.ObjectProvider<T> |
getProvider(String name,
Class<T> type) |
void |
setApplicationContext(org.springframework.context.ApplicationContext parent) |
void |
setClassProcessor(List<AnnotatedClassProcessor<?>> classProcessors) |
<C extends IocContract<? extends Annotation>> |
setContracts(List<C> contracts) |
void |
setMethodInterceptors(List<IocMethodInterceptor<?>> methodInterceptors) |
void |
setMethodProcessor(List<AnnotatedMethodProcessor<?>> methodProcessors) |
void |
setParameterProcessor(List<AnnotatedParameterProcessor<?>> parameterProcessors) |
protected IocNamedContextFactory(Class<?> defaultConfigType)
public void setApplicationContext(org.springframework.context.ApplicationContext parent)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanprotected org.springframework.context.annotation.AnnotationConfigApplicationContext getContext(String name)
protected org.springframework.context.annotation.AnnotationConfigApplicationContext createContext(String name)
public <T> org.springframework.beans.factory.ObjectProvider<T> getProvider(String name, Class<T> type)
public void setClassProcessor(List<AnnotatedClassProcessor<?>> classProcessors)
public void setMethodProcessor(List<AnnotatedMethodProcessor<?>> methodProcessors)
public void setParameterProcessor(List<AnnotatedParameterProcessor<?>> parameterProcessors)
public Map<Class<? extends Annotation>,IocContract<?>> getContracts()
public <C extends IocContract<? extends Annotation>> void setContracts(List<C> contracts)
public List<AnnotatedClassProcessor<?>> getClassProcessors()
public List<AnnotatedMethodProcessor<?>> getMethodProcessors()
public List<AnnotatedParameterProcessor<?>> getParameterProcessors()
public List<IocMethodInterceptor<?>> getMethodInterceptors()
public void setMethodInterceptors(List<IocMethodInterceptor<?>> methodInterceptors)
Copyright © 2023. All rights reserved.