* create a new context
* @return the StandaloneApplicationContext instance
*/
public static StandaloneApplicationContext createNewInstance(boolean registerInstalledResources) {
StandaloneApplicationContext sac = new StandaloneApplicationContext();
sac.resStore = new SmooksResourceConfigurationStore(sac, registerInstalledResources);
// Add the open profile...
sac.profileStore.addProfileSet(new DefaultProfileSet(Profile.DEFAULT_PROFILE));
return sac;
}