Add collaboration feature
[sdc.git] / openecomp-be / backend / openecomp-sdc-conflict-manager / src / main / java / org / openecomp / sdc / conflicts / impl / ConflictsManagerFactoryImpl.java
@@ -7,9 +7,9 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
+package org.openecomp.sdc.conflicts.impl;
 
-package org.openecomp.sdc.vendorsoftwareproduct.dao.impl;
 
-import org.openecomp.sdc.vendorsoftwareproduct.dao.VendorSoftwareProductDao;
-import org.openecomp.sdc.vendorsoftwareproduct.dao.VendorSoftwareProductDaoFactory;
+import org.openecomp.conflicts.dao.ConflictsDaoFactory;
+import org.openecomp.sdc.conflicts.ConflictsManager;
+import org.openecomp.sdc.conflicts.ConflictsManagerFactory;
 
-
-public class VendorSoftwareProductDaoFactoryImpl extends VendorSoftwareProductDaoFactory {
-  private static final VendorSoftwareProductDao INSTANCE = new VendorSoftwareProductDaoImpl();
+public class ConflictsManagerFactoryImpl extends ConflictsManagerFactory {
+  private static final ConflictsManager INSTANCE =
+      new ConflictsManagerImpl(ConflictsDaoFactory.getInstance().createInterface());
 
   @Override
-  public VendorSoftwareProductDao createInterface() {
+  public ConflictsManager createInterface() {
     return INSTANCE;
   }
 }