/** * Initializes the UDDI Clerk. * @throws ConfigurationException */ public void start() { if (UDDIClientContainer.addClient(this)) { //If running in embedded mode /*if (InVMTransport.class.getCanonicalName().equals(getClientConfig().getHomeNode().getProxyTransport())) { * log.info("Starting embedded Server"); * startEmbeddedServer(); * }*/ if (this.clientConfig.isRegisterOnStartup()) { //Runnable runnable = new BackGroundRegistration(this); Thread thread = new Thread(new ThreadStart(new BackGroundRegistration(this).run)); thread.Start(); } } }
/** * Manages the clerks. Initiates reading the client configuration from the uddi.xml. * @throws ConfigurationException */ public UDDIClient(String configurationFile, Properties properties) { clientConfig = new ClientConfig(configurationFile, properties); UDDIClientContainer.addClient(this); }
/// <summary> /// Manages the clerks. Initiates reading the client configuration from the uddi.xml. /// </summary> /// <param name="configurationFile"></param> public UDDIClient(String configurationFile) { clientConfig = new ClientConfig(configurationFile); UDDIClientContainer.addClient(this); }
/// <summary> /// Default constructor, loads from the default config, META-INF/uddi.xml /// </summary> public UDDIClient() { clientConfig = new ClientConfig(CONFIG_FILE, properties); UDDIClientContainer.addClient(this); }