if (!viewContext.isActive()){
logger.debug(bundle.getString("management-debug-stoping-custom-context",
viewContext.getClass().getCanonicalName(), managedType.getCanonicalName()));
viewContext.deactivate();
}
if (!sessionContext.isActive()){
logger.debug(bundle.getString("management-debug-stoping-custom-context",
sessionContext.getClass().getCanonicalName(), managedType.getCanonicalName()));