package de.afbb.bibo.share;

import de.afbb.bibo.share.model.Curator;

/**
 * holds the session token for the current session
 * 
 * @author dbecker
 */
public final class SessionHolder {

	private static final SessionHolder instance = new SessionHolder();
	private String sessionToken = null;
	private Curator curator = null;

	public Curator getCurator() {
		return curator;
	}

	public void setCurator(final Curator curator) {
		this.curator = curator;
	}

	private SessionHolder() {
	}

	public String getSessionToken() {
		return sessionToken;
	}

	public void setSessionToken(final String sessionToken) {
		this.sessionToken = sessionToken;
	}

	public static SessionHolder getInstance() {
		return instance;
	}

}

@@ -332,24 +332,58 @@
  = null;%0D%0A%0D%0A
+%09private SessionHolder() %7B%0D%0A%09%7D%0D%0A%0D%0A
 %09public Cura
@@ -514,42 +514,8 @@
 %0D%0A%0D%0A
-%09private SessionHolder() %7B%0D%0A%09%7D%0D%0A%0D%0A
 %09pub

move constructor