Revert "Renaming Files having BluePrint to have Blueprint"
[ccsdk/cds.git] / ms / blueprintsprocessor / modules / blueprints / blueprint-core / src / main / kotlin / org / onap / ccsdk / cds / controllerblueprints / core / service / BluePrintDependencyService.kt
@@ -16,7 +16,7 @@
 
 package org.onap.ccsdk.cds.controllerblueprints.core.service
 
-import org.onap.ccsdk.cds.controllerblueprints.core.BlueprintProcessorException
+import org.onap.ccsdk.cds.controllerblueprints.core.BluePrintProcessorException
 import org.springframework.context.ApplicationContext
 import org.springframework.context.ConfigurableApplicationContext
 import kotlin.reflect.KClass
@@ -29,12 +29,12 @@ import kotlin.reflect.KClass
  * @author Brinda Santh
  */
 
-object BlueprintDependencyService {
+object BluePrintDependencyService {
 
     lateinit var applicationContext: ApplicationContext
 
     fun inject(applicationContext: ApplicationContext) {
-        BlueprintDependencyService.applicationContext = applicationContext
+        BluePrintDependencyService.applicationContext = applicationContext
     }
 
     /** Used to inject [instance] into spring application context for the [key],
@@ -47,16 +47,16 @@ object BlueprintDependencyService {
 
     inline fun <reified T> instance(name: String): T {
         return applicationContext.getBean(name) as? T
-            ?: throw BlueprintProcessorException("failed to get instance($name)")
+            ?: throw BluePrintProcessorException("failed to get instance($name)")
     }
 
     inline fun <reified T> instance(type: Class<T>): T {
         return applicationContext.getBean(type)
-            ?: throw BlueprintProcessorException("failed to get instance($type)")
+            ?: throw BluePrintProcessorException("failed to get instance($type)")
     }
 
     inline fun <reified T> instance(type: KClass<*>): T {
         return applicationContext.getBean(type.java) as? T
-            ?: throw BlueprintProcessorException("failed to get instance($type)")
+            ?: throw BluePrintProcessorException("failed to get instance($type)")
     }
 }