Examples of reconfigure()


Examples of com.sun.xml.ws.api.config.management.Reconfigurable.reconfigure()

        final WSEndpoint<T> oldEndpoint = this.endpointDelegate;
        this.endpointDelegate = endpoint;
        for (EndpointComponent component : endpointComponents) {
            final Reconfigurable reconfigurable = component.getSPI(Reconfigurable.class);
            if (reconfigurable != null) {
                reconfigurable.reconfigure();
            }
        }
        disposeDelegate(oldEndpoint);
        LOGGER.info(ManagementMessages.WSM_5000_RECONFIGURED_ENDPOINT(this/*.id*/));
    }
View Full Code Here

Examples of com.vmware.aurora.vc.VcVirtualMachine.reconfigure()

            options.add(new OptionValueImpl(VHMConstants.VHM_ELASTIC, (new Boolean(isComputeOnlyNode)).toString()));

            OptionValue[] optionValues = options.toArray((OptionValue[]) Array.newInstance(OptionValue.class, options.size()));
            ConfigSpec spec = new ConfigSpecImpl();
            spec.setExtraConfig(optionValues);
            vm.reconfigure(spec);
            logger.info("set autoElasticity, masterMoId=" + masterMoId + ", masterUUID=" + masterUUID + ", isComputeOnlyNode=" + isComputeOnlyNode + ", enable="
                  + enableAutoElasticity + ", jobTrackerPort=" + jobTrackerPort + ", minComputeNodeNum=" + minComputeNodeNum + ", maxComputeNodeNum=" + maxComputeNodeNum);
            return null;
         }
         protected boolean isTaskSession() {
View Full Code Here

Examples of com.vmware.vim.binding.vim.VirtualMachine.reconfigure()

   throws Exception {
      VcTask task = VcContext.getTaskMgr().execute(new IVcTaskBody() {
         public VcTask body() throws Exception {
            VirtualMachine vm = getManagedObject();
            spec.setName(MoUtil.toURLString(spec.getName()));
            return new VcTask(TaskType.ReconfigVm, vm.reconfigure(spec), callback);
         }
      });
      return task;
   }
View Full Code Here

Examples of org.apache.cocoon.components.search.analyzer.ConfigurableAnalyzer.reconfigure()

                    + " doesn't exist");
        }
        if (analyzer instanceof ConfigurableAnalyzer) {
            ConfigurableAnalyzer confAnalyzer = ((ConfigurableAnalyzer) analyzer);
            if (confAnalyzer.enableCheckFile()) {
                confAnalyzer.reconfigure();
            }
        }
        return analyzer;
    }
View Full Code Here

Examples of org.apache.felix.ipojo.ComponentInstance.reconfigure()

    // Reconfigure
    props = new Properties();
    props.put("prop", "OK");

    ci.reconfigure(props);

    assertNotNull(ci);
    assertEquals("instance valid", ComponentInstance.VALID, ci.getState());
  }
View Full Code Here

Examples of org.apache.felix.ipojo.ComponentInstance.reconfigure()

    // Reconfigure
    props = new Properties();
    props.put("prop", "OK");

    ci.reconfigure(props);

    assertNotNull(ci);
    assertEquals("instance valid", ComponentInstance.VALID, ci.getState());
  }
View Full Code Here

Examples of org.apache.felix.ipojo.ComponentInstance.reconfigure()

    // Reconfigure
    props = new Properties();
    props.put("controller", "true");

    ci.reconfigure(props);

    assertNotNull(ci);
    assertEquals("instance valid", ComponentInstance.VALID, ci.getState());
  }
View Full Code Here

Examples of org.apache.felix.ipojo.ComponentInstance.reconfigure()

        assertEquals("Classes[0] -2", FooService.class.getName(), str2[0].getName());
       
        Properties props2 = new Properties();
        props2.put("cls", new String[] {FooService.class.getName(), CheckService.class.getName()});
        try {
            ci.reconfigure(props2);
        } catch (Exception e) {
            fail(e.getMessage());
        }
       
        // Check the service property
View Full Code Here

Examples of org.apache.felix.ipojo.ComponentInstance.reconfigure()

        ComponentInstance instance = m_componentInstances.get(name);
        if (instance == null) { // The instance does not exists.
            return;
        }

        instance.reconfigure(properties); // re-configure the component
    }

    public String getFactoryName() {
        return m_componentMetadata.getAttribute("name"); // Mandatory attribute.
    }
View Full Code Here

Examples of org.apache.felix.ipojo.ComponentInstance.reconfigure()

        assertEquals("(id=2)", dependency.getFilter());

        // Reconfigure the instance.
        Properties newProps = new Properties();
        newProps.put("instance.id", "3");
        instance.reconfigure(newProps);

        assertTrue(instance.getState() == ComponentInstance.INVALID);
        desc = (DependencyHandlerDescription) instance.getInstanceDescription().getHandlerDescription("org.apache.felix" +
                ".ipojo:requires");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.