_session = sess;
this.user = user;
this.client = client;
- try {
+ //try {
session = new SessionUrn(_session);
- } catch (MalformedURLException e) {
+ /*} catch (MalformedURLException e) {
log.error("Couldn't form a valid SessionUrn object!",e);
throw new InvalidSessionUrnException(_session.toString());
- }
+ }*/
}
/**
* construct new session by importing objects from an existing vamsas document
// if (handlers.containsKey(Events.CLIENT_FINALIZATION))
// deregister listeners.
// mark this instance as finalized
+ this._session.removeClient(this);
}
/*
}
+ /**
+ * retrieves the current VamsasSession to which belong the client
+ * @return the _session
+ */
+ protected VamsasSession get_session() {
+ return this._session;
+ }
+
/* (non-Javadoc)
* @see uk.ac.vamsas.client.IClient#getPickManager()
*/