Package org.apache.stanbol.ontologymanager.servicesapi.session

Examples of org.apache.stanbol.ontologymanager.servicesapi.session.SessionEvent


                sessionID);
        }
    }

    protected void fireSessionCreated(Session session) {
        SessionEvent e = new SessionEvent(session, OperationType.CREATE);
        for (SessionListener l : listeners)
            l.sessionChanged(e);

    }
View Full Code Here


            l.sessionChanged(e);

    }

    protected void fireSessionDestroyed(Session session) {
        SessionEvent e = new SessionEvent(session, OperationType.KILL);
        for (SessionListener l : listeners)
            l.sessionChanged(e);
    }
View Full Code Here

        attachScopeImportsOwlApi(o, universalPrefix);
        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

TOP

Related Classes of org.apache.stanbol.ontologymanager.servicesapi.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.