private ClassLoaderInterface getClassLoader ( ) { Map < String , Object > application = ActionContext . getContext ( ) . getApplication ( ) ; if ( application != null ) { return ( ClassLoaderInterface ) application . get ( ClassLoaderInterface . CLASS_LOADER_INTERFACE ) ; } return null ; }
this class loader interface can be used by other plugins to lookup resources from the bundles . A temporary class loader interface is set during other configuration loading as well