fw.open(host);
sessionID = fw.createSession("localhost");
setupEventQueue();
RemoteDataConversionServiceClient remoteConverter =
new RemoteDataConversionServiceClient();
AttributeDefinitionRegistryClient attrReg =
new AttributeDefinitionRegistryClient();
DataModelRegistryClient dmReg =
new DataModelRegistryClient(ciContext, remoteConverter);
AlgorithmRegistryClient algReg =
new AlgorithmRegistryClient(bContext, sessionID, dmReg);
ObjectClassDefinitionRegistryClient ocdReg =
new ObjectClassDefinitionRegistryClient(attrReg);
MetaTypeProviderRegistryClient mtpReg =
new MetaTypeProviderRegistryClient(ocdReg);
AlgorithmFactoryRegistryClient algFactoryReg =
new AlgorithmFactoryRegistryClient(sessionID, algReg, mtpReg, dmReg);
remoteConverter.open(host);
algFactoryReg.open(host);
algReg.open(host);
attrReg.open(host);
dmReg.open(host);
mtpReg.open(host);