Create DatastoreSnapshotRestore instance via blueprint
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / osgi / Activator.java
diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/osgi/Activator.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/osgi/Activator.java
deleted file mode 100644 (file)
index afbf34e..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (c) 2015 Brocade Communications Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.controller.cluster.datastore.osgi;
-
-import org.opendaylight.controller.cluster.datastore.DatastoreSnapshotRestore;
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-
-/**
- * Activator for the bundle.
- *
- * @author Thomas Pantelis
- */
-public class Activator implements BundleActivator {
-    private static final String RESTORE_DIRECTORY_PATH = "./clustered-datastore-restore";
-
-    @Override
-    public void start(BundleContext context) {
-        DatastoreSnapshotRestore.createInstance(RESTORE_DIRECTORY_PATH);
-    }
-
-    @Override
-    public void stop(BundleContext context) {
-        DatastoreSnapshotRestore.removeInstance();
-    }
-}