import { Descriptor } from "pip-services3-commons-nodex"; import { Factory } from "pip-services3-components-nodex"; import { CurrentPostStatesCommandableClientV1 } from "../version1/CurrentPostStatesCommandableClientV1"; import { CurrentPostStatesMockClientV1 } from "../version1/CurrentPostStatesMockClientV1"; import { CurrentPostStatesNullClientV1 } from "../version1/CurrentPostStatesNullClientV1"; export class CurrentPostStatesClientFactory extends Factory { public static readonly CommandableHttpClientV1Descriptor = new Descriptor("eic-worldwatch-services-currpoststates", "client", "commandable-http", "*", "1.0"); public static readonly MockClientV1Descriptor = new Descriptor("eic-worldwatch-services-currpoststates", "client", "mock", "*", "1.0"); public static readonly NullClientV1Descriptor = new Descriptor("eic-worldwatch-services-currpoststates", "client", "null", "*", "1.0"); public constructor() { super(); this.registerAsType(CurrentPostStatesClientFactory.CommandableHttpClientV1Descriptor, CurrentPostStatesCommandableClientV1); this.registerAsType(CurrentPostStatesClientFactory.MockClientV1Descriptor, CurrentPostStatesMockClientV1); this.registerAsType(CurrentPostStatesClientFactory.NullClientV1Descriptor, CurrentPostStatesNullClientV1); } }