Interface ChildApplicationContextManager
-
- All Known Implementing Classes:
DefaultChildApplicationContextManager
public interface ChildApplicationContextManagerAChildApplicationContextManagermanages a 'chain' of child application contexts, perhaps corresponding to the components of a chained subsystem such as authentication. AChildApplicationContextManagermay also support the dynamic modification of its chain.- Author:
- dward
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.context.ApplicationContextgetApplicationContext(java.lang.String id)Gets the application context with the given identifier.java.util.Collection<java.lang.String>getInstanceIds()Gets the ordered collection of identifiers, indicating the ordering of the chain.
-
-
-
Method Detail
-
getInstanceIds
java.util.Collection<java.lang.String> getInstanceIds()
Gets the ordered collection of identifiers, indicating the ordering of the chain.- Returns:
- an ordered collection of identifiers, indicating the ordering of the chain.
-
getApplicationContext
org.springframework.context.ApplicationContext getApplicationContext(java.lang.String id)
Gets the application context with the given identifier.- Parameters:
id- the identifier of the application context to retrieve- Returns:
- the application context with the given identifier or null if it does not exist
-
-