Package com.google.feedserver.configstore

Examples of com.google.feedserver.configstore.FeedConfigStore


  }

  public Object getTypeMetadataConfig() {
    String feedInfoValue = (String) properties.get(FeedServerConfiguration.FEED_TYPE_CONFIG_KEY);
    if (feedInfoValue != null) {
      FeedConfigStore configStore =
          getServerConfiguration().getGolbalServerConfiguration().getFeedConfigStore();
      String namespace = getServerConfiguration().getNameSpace();
      feedInfoValue = configStore.resolveFeedConfigReferencedValue(namespace, feedInfoValue.trim());
      try {
        return xmlUtil.convertXmlToProperties(feedInfoValue);
      } catch (SAXException e) {
        logger.warning(e.getMessage());
        return null;
View Full Code Here


    // Get the feed config store as init parameter
    String feedConfigStoreClass = config.getInitParameter("FEED_CONFIG_STORE_CLASS");
    String wrapperManagerClassName = config.getInitParameter("WRAPPER_MANAGER_CLASS");

    try {
      FeedConfigStore feedConfigStore =
          (FeedConfigStore) Class.forName(feedConfigStoreClass).newInstance();
      FeedServerConfiguration feedConfig = FeedServerConfiguration.createIntance(feedConfigStore);
      feedConfig.setAclValidator(new AllowAllAclValidator());
      feedConfig.setWrapperManagerClassName(wrapperManagerClassName);
      logger.info(" Created feed config : " + feedConfig + " with feed store : " + feedConfigStore);
View Full Code Here

TOP

Related Classes of com.google.feedserver.configstore.FeedConfigStore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.