@ Activated public void activated ( ) { logger . info ( "Importing core packages ['org.eiichiro.gig', 'org.eiichiro.bootleg', 'org.eiichiro.jaguar', 'org.eiichiro.jaguar.deployment'] into JavaScript context" ) ; Context context = factory . enterContext ( ) ; try { context . evaluateString ( scope , "importPackage(Packages.org.eiichiro.gig)" , Configuration . class . getSimpleName ( ) , 146 , null ) ; context . evaluateString ( scope , "importPackage(Packages.org.eiichiro.bootleg)" , Configuration . class . getSimpleName ( ) , 147 , null ) ; context . evaluateString ( scope , "importPackage(Packages.org.eiichiro.jaguar)" , Configuration . class . getSimpleName ( ) , 148 , null ) ; context . evaluateString ( scope , "importPackage(Packages.org.eiichiro.jaguar.deployment)" , Configuration . class . getSimpleName ( ) , 149 , null ) ; } finally { Context . exit ( ) ; } load ( COMPONENTS_JS ) ; load ( ROUTING_JS ) ; load ( SETTINGS_JS ) ; }
Attempts to load pre - defined configuration files .