class RemoteOperations implements SessionOperations {

    public void destroy(Session requester, Session session) throws SessionException {
        if (debug.messageEnabled()) {
            debug.message(MessageFormat.format(
                    "Remote destroy {0}",
                    session));
        }

        SessionRequest sreq = new SessionRequest(SessionRequest.DestroySession, requester.getID().toString(), false);
        sreq.setDestroySessionID(session.getID().toString());
        requests.sendRequestWithRetry(session.getSessionServiceURL(), sreq, session);
    }

    @Inject public  RemoteOperations(@Named(SessionConstants.SESSION_DEBUG) Debug debug, Requests requests);

}