Package com.asakusafw.windgate.core.session

Examples of com.asakusafw.windgate.core.session.SessionMirror.complete()


    @Test
    public void getIds() throws Exception {
        SessionMirror session1 = provider.create("testing1");
        session1.close();
        SessionMirror session2 = provider.create("testing2");
        session2.complete();
        SessionMirror session3 = provider.create("testing3");
        session3.close();

        List<String> all = new ArrayList<String>(provider.getCreatedIds());
        assertThat(all, hasItems("testing1", "testing3"));
View Full Code Here


     * @throws Exception if failed
     */
    @Test
    public void complete() throws Exception {
        SessionMirror session = provider.create("testing");
        session.complete();
        SessionMirror reopen = provider.create("testing");
        reopen.close();
    }

    /**
 
View Full Code Here

                    fireSessionCompleted(resources);
                    WGLOG.info("I00007",
                            sessionId,
                            profile.getName(),
                            script.getName());
                    session.complete();
                }
            } finally {
                try {
                    session.close();
                } catch (IOException e) {
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.