public abstract class AbstractSpringSingletonBean extends Object
Singleton EJB responsible for
holding the shared Spring ConfigurableApplicationContext instances (one instance per bean type).
AbstractSpringAutowiringInterceptor after injecting
it using EJB.| Constructor and Description |
|---|
AbstractSpringSingletonBean() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.ConfigurableApplicationContext |
getApplicationContext(String key)
Retrieves the ApplicationContext stored under the given key.
|
void |
setApplicationContext(String key,
org.springframework.context.ConfigurableApplicationContext applicationContext)
Stores an ApplicationContext under the provided key.
|
public org.springframework.context.ConfigurableApplicationContext getApplicationContext(String key)
key - the key identifying the ApplicationContextpublic void setApplicationContext(String key, org.springframework.context.ConfigurableApplicationContext applicationContext)
key - the key identifying the ApplicationContextapplicationContext - the ApplicationContext to storeCopyright © 2019 Thomas Naskali. All rights reserved.