protected synchronized void initialLoad ( final PolledConfigurationSource source , final Configuration config ) { PollResult result = null ; try { result = source . poll ( true , null ) ; checkPoint = result . getCheckPoint ( ) ; fireEvent ( EventType . POLL_SUCCESS , result , null ) ; } catch ( Throwable e ) { throw new RuntimeException ( "Unable to load Properties source from " + source , e ) ; } try { populateProperties ( result , config ) ; } catch ( Throwable e ) { throw new RuntimeException ( "Unable to load Properties" , e ) ; } }
Do an initial poll from the source and apply the result to the configuration .