Bug 6859: Cleanup package names for mdsal-binding-generator-api module
[mdsal.git] / binding / mdsal-binding-generator-api / src / main / java / org / opendaylight / mdsal / binding / generator / api / ClassLoadingStrategy.java
diff --git a/binding/mdsal-binding-generator-api/src/main/java/org/opendaylight/mdsal/binding/generator/api/ClassLoadingStrategy.java b/binding/mdsal-binding-generator-api/src/main/java/org/opendaylight/mdsal/binding/generator/api/ClassLoadingStrategy.java
new file mode 100644 (file)
index 0000000..926bbec
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2013 Cisco 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.mdsal.binding.generator.api;
+
+import org.opendaylight.mdsal.binding.model.api.Type;
+
+public interface ClassLoadingStrategy {
+
+    Class<?> loadClass(Type type) throws ClassNotFoundException;
+
+    Class<?> loadClass(String fullyQualifiedName) throws ClassNotFoundException;
+
+}