+ SessionPtr aSession = ModelAPI_Session::get();
+ aSession->registerPlugin(this);
+ ModelAPI_ValidatorsFactory* aFactory = aSession->validators();
+ aFactory->registerValidator("ExchangePlugin_ImportFormat",
+ new ExchangePlugin_ImportFormatValidator);
+ aFactory->registerValidator("ExchangePlugin_ExportFormat",
+ new ExchangePlugin_ExportFormatValidator);