this.identityMap = new IdentityMapImpl(logger);
this.identity = identity;
this.id = modifiable ? createUuid() : UNMODIFIABLE_SESSION_ID;
ObservationRegistry registry = null;
try {
registry = (ObservationRegistry) this.manager.lookup(ObservationRegistry.ROLE);
addListener(registry);
} catch (Exception e) {
throw new RuntimeException(e);