*/
protected Object getServiceKey(Service service){
return "service." + service.getSimpleName();
}
public Factory applyScope(Factory f, MessageContext ctxt) {
return new PooledFactory(f,
getSessionScope(getServiceKey(ctxt.getService()), ctxt.getSession()));
}