public Set < AbstractPlugin > getPlugins ( final String viewName ) { if ( pluginCache . isEmpty ( ) ) { LOGGER . info ( "Plugin cache miss, reload" ) ; load ( ) ; } final Set < AbstractPlugin > ret = pluginCache . get ( viewName ) ; if ( null == ret ) { return Collections . emptySet ( ) ; } return ret ; }
Gets a plugin by the specified view name .