String rndString = RandomStringUtils.random(8, false, true);
id = (id != null) ? new StringBuffer(id).append(rndString).toString() : rndString;
BeanFactory factory = (BeanFactory) getEnvironment().getEntry(BeanFactory.class);
// TODO:: some better way in framework?
Service service = (Service) factory.getBean("servletServiceAdapterComponent");
currentThreadCtx.addService(id, service);
if (startMessage != null)
startMessage.send(null, service);