Examples of reload()


Examples of org.apache.maven.continuum.configuration.ConfigurationService.reload()

        {
            checked = true;
            return invocation.invoke();
        }

        configuration.reload();

        if ( configuration.isInitialized() )
        {
            checked = true;
            return invocation.invoke();
View Full Code Here

Examples of org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.reload()

        final EntityManagerFactory originalEmf = remft.getDelegate();
        assertEquals("false", emf.getProperties().get("openjpa.DataCache"));
        select();

        remft.setProperty("openjpa.DataCache", "true(Types=" + MyEntity.class.getName() + ")");
        remft.reload();
        select();
        assertEquals("true(Types=" + MyEntity.class.getName() + ")", emf.getProperties().get("openjpa.DataCache"));

        final EntityManagerFactory reloadedEmf = remft.getDelegate();
        assertNotSame(originalEmf, reloadedEmf);
View Full Code Here

Examples of org.apache.solr.core.CoreContainer.reload()

          do_persist = true;
        break;
      }

      case RELOAD: {
        cores.reload( cname  );
        do_persist = false; // no change on reload
        break;
      }

      case SWAP: {
View Full Code Here

Examples of org.apache.struts.tiles.definition.ReloadableDefinitionsFactory.reload()

        PrintWriter writer = response.getWriter();

        try {
          ServletContext context = getServlet().getServletContext();
            ReloadableDefinitionsFactory factory = (ReloadableDefinitionsFactory)DefinitionsUtil.getDefinitionsFactory(context );
            factory.reload(context);
            writer.println("OK");
        } catch (ClassCastException e) {
            writer.println("FAIL - " + e.toString());
            getServlet().log("ReloadAction", e);
        } catch (DefinitionsFactoryException e) {
View Full Code Here

Examples of org.apache.tapestry.workbench.tree.examples.fsmodel.FolderObject.reload()

            objParent = new FileSystem();
        }
        else
        {
            FolderObject objFolder = new FolderObject(null, new File(strRootDir), true);
            objFolder.reload();
            objParent = objFolder;
        }

        m_objDataModel = new FileSystemDataModel(objParent);
        m_objModel = new SimpleTreeModel(m_objDataModel);
View Full Code Here

Examples of org.apache.tomcat.core.BaseInterceptor.reload()

      while(e.hasMoreElements()){
    BaseInterceptor savedI=(BaseInterceptor)e.nextElement();
   
    ctx1.addInterceptor(savedI);
    savedI.setContext(ctx1);
    savedI.reload(request,ctx1);
      }

      ctx1.init();
  }
    }
View Full Code Here

Examples of org.apache.tomcat.core.Handler.reload()

    Enumeration sE=ctx.getServletNames();
    while( sE.hasMoreElements() ) {
        try {
      String sN=(String)sE.nextElement();
      Handler sw=ctx.getServletByName( sN );
      sw.reload();
        } catch( Exception ex ) {
      log( "Reload exception: " + ex);
        }
    }
View Full Code Here

Examples of org.drools.core.rule.JavaDialectRuntimeData.reload()

                    classFieldAccessorStore.removeType(type);
                    dialect.remove(type.getTypeClassName());
                }
                removeTypeDeclaration(type.getTypeName());
            }
            dialect.reload();
        }

        List<Function> functionsToBeRemoved = removeFunctionsGeneratedFromResource(resource);

        return !rulesToBeRemoved.isEmpty() || !typesToBeRemoved.isEmpty() || !functionsToBeRemoved.isEmpty();
View Full Code Here

Examples of org.drools.core.rule.JavaDialectRuntimeData.reload()

            for (TypeDeclaration type : typesToBeRemoved) {
                classFieldAccessorStore.removeType(type);
                dialect.remove(type.getTypeClassName());
                removeTypeDeclaration(type.getTypeName());
            }
            dialect.reload();
        }

        List<Function> functionsToBeRemoved = removeFunctionsGeneratedFromResource(resource);

        return !rulesToBeRemoved.isEmpty() || !typesToBeRemoved.isEmpty() || !functionsToBeRemoved.isEmpty();
View Full Code Here

Examples of org.drools.guvnor.client.packages.PackageEditor.reload()

              if (a.metaData.format.equals(AssetFormats.MODEL)) {
                  Command command =new Command() {
                                    public void execute() {
                                        PackageEditor packageEditor = openedPackageEditors.get(a.metaData.packageName);
                                        if (packageEditor != null) {
                                            packageEditor.reload();
                                        }
                                    }
                                };
                rv.setCheckedInCommand( command );
                rv.setArchiveCommand( command );
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.