Package org.apache.stanbol.ontologymanager.ontonet.api.session

Examples of org.apache.stanbol.ontologymanager.ontonet.api.session.SessionEvent


        }
        return o;
    }

    protected void fireClosed() {
        SessionEvent e = null;
        try {
            e = new SessionEvent(this, OperationType.CLOSE);
        } catch (Exception e1) {
            LoggerFactory.getLogger(getClass()).error("Could not close session " + getID(), e1);
            return;
        }
        for (SessionListener l : listeners)
View Full Code Here


                     + " which was already in a zombie state.", e);
        }
    }

    protected void fireSessionCreated(Session session) {
        SessionEvent e;
        try {
            e = new SessionEvent(session, OperationType.CREATE);
            for (SessionListener l : listeners)
                l.sessionChanged(e);
        } catch (Exception e1) {
            log.error("An error occurred while attempting to fire session creation event for session "
                      + session.getID(), e1);
View Full Code Here

        }

    }

    protected void fireSessionDestroyed(Session session) {
        SessionEvent e;
        try {
            e = new SessionEvent(session, OperationType.KILL);
            for (SessionListener l : listeners)
                l.sessionChanged(e);
        } catch (Exception e1) {
            log.error("An error occurred while attempting to fire session destruction event for session "
                      + session.getID(), e1);
View Full Code Here

TOP

Related Classes of org.apache.stanbol.ontologymanager.ontonet.api.session.SessionEvent

Copyright © 2018 www.massapicom. 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.