class LocalOperations implements SessionOperations {

    public SessionInfo refresh(Session session, boolean reset) throws SessionException {
        SessionID sessionID = session.getID();
        if (debug.messageEnabled()) {
            debug.message(MessageFormat.format(
                    "Local fetch SessionInfo for {0}\n" +
                            "Reset: {1}",
                    sessionID.toString(),
                    reset));
        }
        return service.getSessionInfo(sessionID, reset);
    }

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

}