Examples of reconfigure()


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

    p3.put("boolean", "true");
    p3.put("string", "foo");
    p3.put("strAProp", "{foo, bar, baz}");
    p3.put("intAProp", "{1, 2, 3}");
    try {
      fact.reconfigure(p3);
    } catch(Exception e) {
      fail("Unable to reconfigure the instance with : " + p3);
    }
   
    sr = helper.getServiceReferenceByName(FooService.class.getName(), "FooProvider-3");
View Full Code Here

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

    p3.put("boolean", "true");
    p3.put("string", "foo");
    p3.put("strAProp", "{foo, bar, baz}");
    p3.put("intAProp", "{ 1, 2, 3}");
    try {
      fact.reconfigure(p3);
    } catch(Exception e) {
      fail("Unable to reconfigure the instance with : " + p3);
    }
   
    sr = helper.getServiceReferenceByName(FooService.class.getName(), "FooProvider-3");
View Full Code Here

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

      p3.put("boolean", new Boolean(true));
      p3.put("string", new String("foo"));
      p3.put("strAProp", new String[] {"foo", "bar", "baz"});
      p3.put("intAProp", new int[] { 1, 2, 3});
      try {
        fact.reconfigure(p3);
      } catch(Exception e) {
        fail("Unable to reconfigure the instance with : " + p3);
      }
     
      sr = helper.getServiceReferenceByName(FooService.class.getName(), "FooProvider-4");
View Full Code Here

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

      p3.put("boolean", new Boolean(true));
      p3.put("string", new String("foo"));
      p3.put("strAProp", new String[] {"foo", "bar", "baz"});
      p3.put("intAProp", new int[] { 1, 2, 3});
      try {
        fact.reconfigure(p3);
      } catch(Exception e) {
        fail("Unable to reconfigure the instance with : " + p3);
      }
     
      sr = helper.getServiceReferenceByName(FooService.class.getName(), "FooProvider-3");
View Full Code Here

Examples of org.apache.felix.scr.impl.manager.SingleComponentManager.reconfigure()

        // icm may be null if the last configuration deleted was the
        // single component's configuration. Otherwise the component
        // is not the "last" and has to be disposed off
        if ( deconfigure )
        {
          icm.reconfigure( null, -1, null );
        }
        else
        {
            icm.dispose( ComponentConstants.DEACTIVATION_REASON_CONFIGURATION_DELETED );
        }
View Full Code Here

Examples of org.apache.fulcrum.yaafi.framework.component.ServiceComponent.reconfigure()

        // reconfigure the component

        try
        {
            serviceComponent.reconfigure();
        }
        catch(ConfigurationException e)
        {
            String msg = "Reconfiguring failed : " + serviceComponent.getShorthand();
            this.getLogger().error(msg,e);
View Full Code Here

Examples of org.apache.logging.log4j.core.LoggerContext.reconfigure()

    @AfterClass
    public static void cleanUpClass() {
        System.clearProperty(XMLConfigurationFactory.CONFIGURATION_FILE_PROPERTY);
        final LoggerContext context = (LoggerContext) LogManager.getContext(false);
        context.reconfigure();
        StatusLogger.getLogger().reset();
    }

    private Logger logger = LogManager.getLogger("LoggingMessageTagSupportTestLogger");
    private LoggingMessageTagSupport tag;
View Full Code Here

Examples of org.apache.logging.log4j.core.LoggerContext.reconfigure()

    @AfterClass
    public static void cleanUpClass() {
        System.clearProperty(XMLConfigurationFactory.CONFIGURATION_FILE_PROPERTY);
        final LoggerContext context = (LoggerContext) LogManager.getContext(false);
        context.reconfigure();
        StatusLogger.getLogger().reset();
    }

    private Logger logger = LogManager.getLogger("LoggingMessageTagSupportTestLogger");
    private CatchingTag tag;
View Full Code Here

Examples of org.apache.logging.log4j.core.LoggerContext.reconfigure()

    @AfterClass
    public static void cleanUpClass() {
        System.clearProperty(XMLConfigurationFactory.CONFIGURATION_FILE_PROPERTY);
        final LoggerContext context = (LoggerContext) LogManager.getContext(false);
        context.reconfigure();
        StatusLogger.getLogger().reset();
    }

    private Logger logger = LogManager.getLogger("LoggingMessageTagSupportTestLogger");
    private ExitTag tag;
View Full Code Here

Examples of org.apache.logging.log4j.core.LoggerContext.reconfigure()

    @AfterClass
    public static void cleanUpClass() {
        System.clearProperty(XMLConfigurationFactory.CONFIGURATION_FILE_PROPERTY);
        final LoggerContext context = (LoggerContext) LogManager.getContext(false);
        context.reconfigure();
        StatusLogger.getLogger().reset();
    }

    private Logger logger = LogManager.getLogger("LoggingMessageTagSupportTestLogger");
    private EntryTag tag;
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.