Package com.google.feedserver.config

Examples of com.google.feedserver.config.NamespacedAdapterConfiguration


        targetAdapter.getConfiguration().getAdapterConfiguration();
    return adapterConfig.getImplicitMixins();
  }

  protected void removeImplicitWrappersFromConfig() {
    NamespacedAdapterConfiguration adapterConfig =
        targetAdapter.getConfiguration().getAdapterConfiguration();
    adapterConfig.removeImplicitMixins();
  }
View Full Code Here


        targetAdapter.getConfiguration().getAdapterConfiguration();
    adapterConfig.removeImplicitMixins();
  }

  protected MixinConfiguration[] getAdapterWrappers() {
    NamespacedAdapterConfiguration adapterConfig =
        targetAdapter.getConfiguration().getAdapterConfiguration();
    return adapterConfig.getMixins();
  }
View Full Code Here

        targetAdapter.getConfiguration().getAdapterConfiguration();
    return adapterConfig.getMixins();
  }

  protected String getWrapperAdapterConfiguration() {
    NamespacedAdapterConfiguration adapterConfiguration =
        targetAdapter.getConfiguration().getAdapterConfiguration();
    return adapterConfiguration.getConfigData();
  }
View Full Code Here

    fileSystemFeedConfigStore = new SampleFileSystemFeedConfigStore();
    globalServerConfig = FeedServerConfiguration.createIntance(fileSystemFeedConfigStore);
    globalServerConfig.setWrapperManagerClassName(XmlWrapperManager.class.getName());
    serverConfig = new PerNamespaceServerConfiguration(globalServerConfig, DOMAIN_NAME);
    adapterConfigWithNoWrappers =
        new NamespacedAdapterConfiguration(adapterConfigWithNoWrappersMap, serverConfig);

    MixinConfiguration mc1 = new MapMixinConfiguration(TEST_WRAPPER1);
    mc1.setWrapperName(WRAPPER_CLASS);
    MixinConfiguration mc2 = new MapMixinConfiguration(TEST_WRAPPER2);
    mc2.setWrapperName(WRAPPER_CLASS);
    MixinConfiguration mc3 = new MapMixinConfiguration(TEST_WRAPPER3);
    mc3.setWrapperName(WRAPPER_CLASS);
    MixinConfiguration[] mixinConfigs = new MixinConfiguration[] {mc1, mc2, mc3};

    Map<String, Object> tmp = new HashMap<String, Object>(adapterConfigWithWrappersEntry);
    tmp.put(FeedServerConfiguration.MIXINS, mixinConfigs);
    adapterConfigWithWrappers = new NamespacedAdapterConfiguration(tmp, serverConfig);

    wrapperAdapterConfigWithNoWrappers =
        new NamespacedAdapterConfiguration(wrapperConfigWithAdapterWithNoWrappersMap, serverConfig);
    wrapperAdapterConfigWithWrappers =
        new NamespacedAdapterConfiguration(wrapperConfigWithAdapterWithWrappersMap, serverConfig);
    feedWithAdaptersWithNoWrappers =
        new NamespacedFeedConfiguration(feedConfigWithAdapterWithNoWrappersMap,
            adapterConfigWithNoWrappers, serverConfig);
    feedWithAdaptersWithWrappers =
        new NamespacedFeedConfiguration(feedConfigWithAdapterWithWrapperMap,
View Full Code Here

TOP

Related Classes of com.google.feedserver.config.NamespacedAdapterConfiguration

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.