示例#1
0
        /**
         * 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();
                }
            }
        }
示例#2
0
 /**
  * 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);
 }
示例#3
0
 /// <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);
 }
示例#4
0
 /// <summary>
 /// Default constructor, loads from the default config, META-INF/uddi.xml
 /// </summary>
 public UDDIClient()
 {
     clientConfig = new ClientConfig(CONFIG_FILE, properties);
     UDDIClientContainer.addClient(this);
 }