class LocalOperations implements SessionOperations {

    @Override
    public void destroy(Session requester, Session session) throws SessionException {
        if (debug.messageEnabled()) {
            debug.message(MessageFormat.format("Local destroy for {0}", session.getID().toString()));
        }
        service.destroySession(requester, session.getID());
    }

    @Inject public  LocalOperations(@Named(SessionConstants.SESSION_DEBUG) Debug debug, SessionService service);

}