private MutableJmsProviderStore createUserDefinedProviderStore() throws AppDirInitializationException {
File root = new File(getLocation(), PROVIDER_STORE_NAME);
File userLocation = new File(root, USER_DEFINED_PROVIDER_STORE_NAME);
if (!userLocation.exists() && !userLocation.mkdirs()) {
throw new AppDirInitializationException("Failed to create the JMS provider store.");
}
return JmsProviderStoreFactory.newFileBasedStore(userLocation);
}