public class SpringDependencyContext extends Object implements DependencyContext
| Constructor and Description |
|---|
SpringDependencyContext(org.springframework.context.ApplicationContext springContext) |
| Modifier and Type | Method and Description |
|---|---|
<T> Optional<T> |
getBean(Class<T> type) |
Optional<Object> |
getBean(String name) |
org.springframework.context.ApplicationContext |
getSpringContext() |
public SpringDependencyContext(org.springframework.context.ApplicationContext springContext)
public org.springframework.context.ApplicationContext getSpringContext()
public <T> Optional<T> getBean(Class<T> type)
getBean in interface DependencyContextpublic Optional<Object> getBean(String name)
getBean in interface DependencyContextCopyright © 2024. All rights reserved.