public Topology getNewInstance ( final Class < ? extends Name < String > > operatorName , final Class < ? extends Topology > topologyClass ) throws InjectionException { final Injector newInjector = injector . forkInjector ( ) ; newInjector . bindVolatileParameter ( OperatorNameClass . class , operatorName ) ; return newInjector . getInstance ( topologyClass ) ; }
Instantiates a new Topology instance .