Sitebricks is based on the Guice Servlet extension for Guice, which allows you to enter objects as objects through a session, annotating them with @SessionScoped or by specifying the session area when binding in the module:
bind(Something.class).to(SomeImplementation.class).in(SessionScoped.class);
source
share