Examples of saveConfig()


Examples of com.sun.pkg.client.Image.saveConfig()

            if (instanceURN.startsWith(prefix))
                instanceURN = instanceURN.substring(prefix.length());
            for (String authority : authorities) {
                image.setAuthority(authority, null, instanceURN);
            }
            image.saveConfig();
        } catch(Exception ex) {
            throw new RegistrationException(ex);
        }
    }
}
View Full Code Here

Examples of fr.soleil.salsa.dao.impl.ConfigDAO.saveConfig()

     * @see fr.soleil.salsa.service.IPersistenceService#saveConfig(fr.soleil.salsa.entity.IConfig)
     */
    @Override
    public IConfig<?> saveConfig(IConfig<?> config) throws PersistenceException {
        ConfigDAO dao = new ConfigDAO();
        return dao.saveConfig(config);
    }

    /* (non-Javadoc)
     * @see fr.soleil.salsa.service.IPersistenceService#saveDirectory(fr.soleil.salsa.entity.IDirectory)
     */
 
View Full Code Here

Examples of fr.soleil.salsa.dao.impl.ConfigDAO.saveConfig()

    @Override
    public IConfig<?> saveConfig(IConfig<?> config) throws PersistenceException,
            ScanNotFoundException {
        ConfigDAO dao = new ConfigDAO();
        return dao.saveConfig(config);
    }

    @Override
    public IDirectory saveDirectory(IDirectory directory) throws PersistenceException {
        ConfigDAO dao = new ConfigDAO();
View Full Code Here

Examples of fr.soleil.salsa.dao.impl.ConfigDAO.saveConfig()

     * @see fr.soleil.salsa.service.IPersistenceService#saveConfig(fr.soleil.salsa.entity.IConfig)
     */
    @Override
    public IConfig saveConfig(IConfig config) throws PersistenceException {
        ConfigDAO dao = new ConfigDAO();
        return dao.saveConfig(config);
    }

    /* (non-Javadoc)
     * @see fr.soleil.salsa.service.IPersistenceService#saveDirectory(fr.soleil.salsa.entity.IDirectory)
     */
 
View Full Code Here

Examples of fr.soleil.salsa.dao.impl.ConfigDAO.saveConfig()

    @Override
    public IConfig<?> saveConfig(IConfig<?> config) throws PersistenceException,
            ScanNotFoundException {
        ConfigDAO dao = new ConfigDAO();
        return dao.saveConfig(config);
    }

    @Override
    public IDirectory saveDirectory(IDirectory directory) throws PersistenceException {
        ConfigDAO dao = new ConfigDAO();
View Full Code Here

Examples of net.sf.jmp3renamer.Configurable.saveConfig()

        ServiceTracker st = new ServiceTracker(ctx, Configurable.class.getName(), null);
        st.open();
        Object[] plugins = st.getServices();
        for (Object plugin : plugins) {
            Configurable c = (Configurable) plugin;
            c.saveConfig();
        }
        st.close();
    }

    public void addPlugin(DataPlugin plugin) {
View Full Code Here

Examples of org.adoptopenjdk.jitwatch.core.JITWatchConfig.saveConfig()

    config.setSourceLocations(sourceLocations);
    config.setClassLocations(classLocations);

    if (configChanged)
    {
      config.saveConfig();
    }

    logParser.processLogFile(sandboxLogFile, sandboxStage);

    logListener.log("Parsing complete");
View Full Code Here

Examples of org.geoserver.gwc.GWC.saveConfig()

    @Before
    public void cleanup() throws IOException {
        GWC gwc = GWC.get();
        GWCConfig config = gwc.getConfig();
        config.setLockProviderName(null);
        gwc.saveConfig(config);
    }

    @Test
    public void testEditDirectWMSIntegration() {
        GWC gwc = GWC.get();
View Full Code Here

Examples of org.geowebcache.diskquota.DiskQuotaMonitor.saveConfig()

        return monitor;
    }

    public void saveDiskQuotaConfig() {
        DiskQuotaMonitor monitor = getDiskQuotaMonitor();
        monitor.saveConfig();
    }

    /**
     * @see org.springframework.context.ApplicationContextAware#setApplicationContext(org.springframework.context.ApplicationContext)
     */
 
View Full Code Here

Examples of org.jboss.forge.addon.javaee.cdi.CDIFacet_1_0.saveConfig()

   {
      Project project = projectHelper.createJavaLibraryProject();
      CDIFacet_1_0 cdiFacet = projectHelper.installCDI_1_0(project);
      org.jboss.shrinkwrap.descriptor.api.beans10.BeansDescriptor config = cdiFacet.getConfig();
      config.getOrCreateAlternatives().clazz("org.myclazz.MyAlternative");
      cdiFacet.saveConfig(config);

      shellTest.execute("cd " + project.getRoot().getFullyQualifiedName(), 10, TimeUnit.SECONDS);
      shellTest.execute("cdi-list-alternatives", 10, TimeUnit.SECONDS);
      Assert.assertThat(shellTest.getStdOut(), CoreMatchers.containsString("org.myclazz.MyAlternative"));
   }
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.