private Configuration buildToolkitConfig ( ) { // The toolkit configuration file. try { File configFile = ResourceUtil . getFileForResource ( "jersey2-toolkit.properties" ) ; return new PropertiesConfiguration ( configFile ) ; } catch ( ConfigurationException ce ) { logger . error ( "jersey2-toolkit.properties not readable," + " some features may be misconfigured." ) ; // Return a new, empty map configuration so we don't error out. return new MapConfiguration ( new HashMap < String , String > ( ) ) ; } }
Builds the configuration object for our toolkit config .