code: public static void clearAllRegisteredControls() {
  		UIContext uic = UIContextHolder.getCurrentPrimaryUIContext();
  		if (uic != null) {
  			uic.setFwkAttribute(SUBORDINATE_CONTROL_SESSION_KEY, null);
  		}
  	}
docs: Clear all registered Subordinate Controls on the session.