Interface ChildApplicationContextManager
- All Known Implementing Classes:
DefaultChildApplicationContextManager
public interface ChildApplicationContextManager
A
ChildApplicationContextManager manages a 'chain' of child application contexts, perhaps corresponding
to the components of a chained subsystem such as authentication. A ChildApplicationContextManager may
also support the dynamic modification of its chain.- Author:
- dward
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.ApplicationContextGets the application context with the given identifier.Gets the ordered collection of identifiers, indicating the ordering of the chain.
-
Method Details
-
getInstanceIds
Collection<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
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
-