quarks.samples.apps

Class TopologyProviderFactory

  • java.lang.Object
    • quarks.samples.apps.TopologyProviderFactory


  • public class TopologyProviderFactory
    extends java.lang.Object
    A configuration driven factory for a Quarks topology provider.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TopologyProviderFactory(java.util.Properties props)
      Construct a factory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      DirectProvider newProvider()
      Get a new topology provider.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TopologyProviderFactory

        public TopologyProviderFactory(java.util.Properties props)
        Construct a factory
        Parameters:
        props - configuration information.
    • Method Detail

      • newProvider

        public DirectProvider newProvider()
                                   throws java.lang.Exception
        Get a new topology provider.

        The default provider is quarks.providers.direct.DirectProvider.

        The topology.provider configuration property can specify an alternative.

        Returns:
        the provider
        Throws:
        java.lang.Exception - if the provider couldn't be created

Copyright IBM 2015,2016 - 2f6ad0e-20160307-0902