private void startStores(Properties properties) { String definitionStoreClassName = properties.getProperty(DEFINITION_STORE_CLASS); String contentStoreClassName = properties.getProperty(CONTENT_STORE_CLASS); // start definition store try { Class<?> definitionStoreClass = Class.forName(definitionStoreClassName); definitionStore = (MeemStoreDefinitionStore) definitionStoreClass.newInstance(); } catch (Exception e) { logger.log(Level.INFO, "Exception while starting MeemStoreDefinitionStore", e); } if (definitionStore != null) definitionStore.configure(this, properties); // start content store try { Class<?> contentStoreClass = Class.forName(contentStoreClassName); contentStore = (MeemStoreContentStore) contentStoreClass.newInstance(); } catch (Exception e) { logger.log(Level.INFO, "Exception while starting MeemStoreContentStore", e); } if (contentStore != null) contentStore.configure(this, properties); }