/** * Instantiates a new Lingual flow factory. * * @param platformBroker the platform broker * @param name the name * @param tail */ public LingualFlowFactory( PlatformBroker platformBroker, LingualConnection lingualConnection, String name, Pipe tail ) { super( new Properties( platformBroker.getProperties() ), name ); this.platformBroker = platformBroker; this.catalog = platformBroker.getCatalogManager(); this.lingualConnection = lingualConnection; this.tail = tail; AppProps.addApplicationFramework( getProperties(), Version.getName() + ":" + Version.getVersionString() ); AppProps.addApplicationTag( getProperties(), getProperties().getProperty( Driver.TAGS_PROP ) ); }
@Override protected DriverVersion createDriverVersion() { return new DriverVersion( Version.getName(), Version.getVersionString(), Version.getProductName(), Version.getProductVersion(), true, Version.getMajorVersion(), Version.getMinorVersion(), 1, 0 ); }