}
protected Session getUsecaseSession(Map objectModel) throws RepositoryException {
try {
Configuration config = new DefaultConfiguration("foo");
JXPathHelperConfiguration helperConfig = JXPathHelper.setup(config);
Object contextObject = FlowHelper.getContextObject(objectModel);
return (Session) JXPathHelper.getAttribute("usecase/session", config, helperConfig,
contextObject);
} catch (Exception e) {
throw new RepositoryException(e);