StoreDescription parentDesc) throws Exception {
if (aContext instanceof StandardContext) {
StandardContext context = (StandardContext) aContext;
// Store nested <Listener> elements
if (context instanceof Lifecycle) {
LifecycleListener listeners[] = context
.findLifecycleListeners();
storeElementArray(aWriter, indent, listeners);
}
// Store nested <Valve> elements
if (context instanceof Pipeline) {