HttpServletRequest request = createRequest(session);
ServletRequestEvent requestEvent = createServletRequestEvent(request);
HttpSessionBindingEvent event = createHttpSessionBindingEvent(session);
// jodd
RequestContextListener requestContextListener = new RequestContextListener();
// start session, init request
requestContextListener.requestInitialized(requestEvent);
// petite
PetiteContainer pc = new PetiteContainer();
pc.registerPetiteBean(Ses.class, null, null, null, false);