Examples of reset()


Examples of org.apache.tiles.definition.Definitions.reset()

        }
       
        assertNotNull("Couldn't get parent.",
                definitions.getDefinition("parent.def1"));
       
        definitions.reset();
        assertNull("Definitions should be null.",
                definitions.getDefinition("parent.def1"));
    }
   
    /**
 
View Full Code Here

Examples of org.apache.tiles.definition.DefinitionsImpl.reset()

        }
       
        assertNotNull("Couldn't get parent.",
                definitions.getDefinition("parent.def1"));
       
        definitions.reset();
        assertNull("Definitions should be null.",
                definitions.getDefinition("parent.def1"));
    }
   
    /**
 
View Full Code Here

Examples of org.apache.tomcat.util.buf.ByteChunk.reset()

                authHeader.clear();
                authHeader.add(buildDigestResponse(nc));
               
                rc = -1;
                bc.recycle();
                bc.reset();
               
                try {
                    rc = getUrl(path, bc, reqHeaders, null);
                } catch (IOException ioe) {
                    // Ignore
View Full Code Here

Examples of org.apache.tomcat.util.depend.DependManager.reset()

  DependManager dm=(DependManager)context.getContainer().
      getNote("DependManager");

  if( dm!=null ) {
      // we are using a util.depend for reloading
      dm.reset();
  }
  loaderHook(dm, context);
  log( "Reloading context " + context );
    }
View Full Code Here

Examples of org.apache.tomcat.util.digester.Digester.reset()

        } catch (Exception e) {
            log.warn("Error processing configuration file " +
                file.getAbsolutePath(), e);
            return;
        } finally {
            digester.reset();
        }

    }
}
View Full Code Here

Examples of org.apache.tomcat.util.net.NioEndpoint.KeyAttachment.reset()

        public void register(final NioChannel socket)
        {
            socket.setPoller(this);
            KeyAttachment key = keyCache.poll();
            final KeyAttachment ka = key!=null?key:new KeyAttachment();
            ka.reset(this,socket);
            PollerEvent r = eventCache.poll();
            ka.interestOps(SelectionKey.OP_READ);//this is what OP_REGISTER turns into.
            if ( r==null) r = new PollerEvent(socket,ka,OP_REGISTER);
            else r.reset(socket,ka,OP_REGISTER);
            addEvent(r);
View Full Code Here

Examples of org.apache.tomee.installer.Installer.reset()

        final Paths paths = new Paths(openejbWarDir);
        final Installer installer = new Installer(paths);
        final List<Map<String, String>> result = new ArrayList<Map<String, String>>();
        if (org.apache.tomee.installer.Status.NONE.equals(installer.getStatus())) {
            paths.reset();
            installer.reset();
            paths.setCatalinaHomeDir(this.catalinaHome);
            paths.setCatalinaBaseDir(this.catalinaBase);
            paths.setServerXmlFile(this.serverXmlFile);
            if (paths.verify()) {
                installer.installAll();
View Full Code Here

Examples of org.apache.tomee.installer.InstallerInterface.reset()

            EasyMock.expectLastCall().andReturn(Boolean.TRUE).anyTimes();

            final InstallerInterface installer = EasyMock.createNiceMock(InstallerInterface.class);
            installer.getPaths();
            EasyMock.expectLastCall().andReturn(paths).anyTimes();
            installer.reset();
            EasyMock.expectLastCall();
            installer.getStatus();
            EasyMock.expectLastCall().andReturn(Status.NONE);
            installer.getStatus();
            EasyMock.expectLastCall().andReturn(Status.NONE);
View Full Code Here

Examples of org.apache.tomee.installer.Paths.reset()

    public List<Map<String, String>> execute() {
        final Paths paths = new Paths(openejbWarDir);
        final Installer installer = new Installer(paths);
        final List<Map<String, String>> result = new ArrayList<Map<String, String>>();
        if (org.apache.tomee.installer.Status.NONE.equals(installer.getStatus())) {
            paths.reset();
            installer.reset();
            paths.setCatalinaHomeDir(this.catalinaHome);
            paths.setCatalinaBaseDir(this.catalinaBase);
            paths.setServerXmlFile(this.serverXmlFile);
            if (paths.verify()) {
View Full Code Here

Examples of org.apache.tomee.installer.PathsInterface.reset()

        if (org.apache.tomee.installer.Status.INSTALLED.equals(installerStatus) ||
                org.apache.tomee.installer.Status.REBOOT_REQUIRED.equals(installerStatus)) {
            return installerResults;
        }
        final PathsInterface paths = installer.getPaths();
        paths.reset();
        installer.reset();
        paths.setCatalinaHomeDir(this.catalinaHome);
        paths.setCatalinaBaseDir(this.catalinaBase);
        paths.setServerXmlFile(this.serverXmlFile);
        if (paths.verify() && install) {
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.