chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Cheng <>
Subject how to make SessionFactory spring friendly?
Date Sun, 17 Jul 2011 17:32:04 GMT
This is the normal procedure to obtain a session with opencmis api

SessionFactory f = SessionFactoryImpl.newInstance();
Map<String, String> params = new HashMap<String, String>();
params.put(SessionParameter.USER, "admin");
params.put(SessionParameter.PASSWORD, "admin");
params.put(SessionParameter.ATOMPUB_URL, "
params.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value());
Session s = f.createSession(params);

Is there any component in chemistry to make this more spring friendly and
poolable like Hibernate or ActiveMQ session factories?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message