public List < BeanDefinition > inspectPlugin ( PluginConfig plugin ) { Configuration conf = new ConfigurationImpl ( ) ; Collection < PluginConfig > plugins = new LinkedList < PluginConfig > ( ) ; plugins . add ( plugin ) ; conf . setPlugins ( plugins ) ; ConfigurationManager manager = new ConfigurationManager ( conf , false , locateConfigurationProvider ( ) ) ; manager . executeConfigurationProviders ( ) ; return conf . getAvailableBeans ( plugin ) ; }
Retrieves the bean definitions that contains an specific plugin .