public void after(Object[] context, ServletRequest httpRequest, ServletResponse httpResponse) {
if (next != null) {
next.after(context, httpRequest, httpResponse);
}
try {
SharedConnectorInstanceContext oldConnectorInstanceContext = (SharedConnectorInstanceContext) context[oldIndex];
SharedConnectorInstanceContext newConnectorInstanceContext = (SharedConnectorInstanceContext) context[newIndex];
if (oldConnectorInstanceContext != null) {
newConnectorInstanceContext.hide();
}
trackedConnectionAssociator.exit(oldConnectorInstanceContext);
} catch (ResourceException e) {
throw new RuntimeException(e);
}