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.ApplicationContext |
getApplicationContext(String key,
Class<?>... annotedClasses)
Retrieves an ApplicationContext, creating it beforehand if it not already present.
|
public org.springframework.context.ApplicationContext getApplicationContext(String key, Class<?>... annotedClasses)
key - the key identifying the ApplicationContextannotedClasses - the spring configuration classes from which the ApplicationContext should
be createdCopyright © 2018 Thomas Naskali. All rights reserved.