@ Produces @ Configuration public org . apache . commons . configuration . Configuration getConfiguration ( InjectionPoint injectionPoint ) { // get configuration annotation ConfigurationWrapper annotation = this . getConfigurationWrapper ( injectionPoint ) ; // use shared implementation to get configuration return this . getConfiguration ( annotation ) ; }
Given the injection point resolve an instance of Apache Commons Configuration