Jonathan Hart | 627f10c | 2013-01-16 14:20:03 -0800 | [diff] [blame] | 1 | package net.floodlightcontroller.core.internal; |
| 2 | |
| 3 | import java.util.Set; |
| 4 | |
| 5 | import com.thinkaurelius.titan.core.TitanGraph; |
| 6 | import com.tinkerpop.blueprints.Vertex; |
| 7 | import com.tinkerpop.blueprints.TransactionalGraph.Conclusion; |
| 8 | |
| 9 | /** |
| 10 | * Seam that allows me to set up a testable instance of SwitchStorageImpl that |
| 11 | * writes to a file database rather than a Cassandra cluster. |
| 12 | * It seems the init() API on SwitchStorageImpl might change so I won't rely |
| 13 | * on it yet. |
| 14 | * |
| 15 | * @author jono |
| 16 | * |
| 17 | */ |
| 18 | |
| 19 | public class TestableSwitchStorageImpl extends SwitchStorageImpl { |
| 20 | |
Pankaj Berde | 1519309 | 2013-03-21 17:30:14 -0700 | [diff] [blame] | 21 | public TestableSwitchStorageImpl(){ |
Jonathan Hart | 627f10c | 2013-01-16 14:20:03 -0800 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | @Override |
| 25 | public void init(String conf){ |
Pankaj Berde | 1519309 | 2013-03-21 17:30:14 -0700 | [diff] [blame] | 26 | |
| 27 | super.init(conf); |
Jonathan Hart | 627f10c | 2013-01-16 14:20:03 -0800 | [diff] [blame] | 28 | |
| 29 | } |
| 30 | } |