Package com.bankframe.examples.resource

Class Summary
BankFrameMCAResourceExample This class illustrates dynamic configuration working It carries out the following steps: Backup the current BankframeResource.properties Replace the current BankframeResource.properties with one that contains a key named dynamicConfiguration.testValue whose value is: Hello Call BankFrameMCAResource.getProperty() method to obtain the value of this setting and display it Replace the current BankframeResource.properties with one that contains a key named dynamicConfiguration.testValue whose value is: World Sleep for the interval defined by the resource.cache.refreshInterval setting so that the change to the file is detected Call BankFrameMCAResource.getProperty() method to obtain the value of this setting and display it
 



Copyright © 2005, 2007, Oracle. All rights reserved.