Hi Emanuele,

"extra-modules” servlet parameter should allow you to load your own Cayenne 
extensions. From the javadocs of ROPHessianServlet:

http://cayenne.apache.org/docs/3.1/api/org/apache/cayenne/configuration/rop/server/ROPHessianServlet.html

"extra-modules (optional) - a comma or space-separated list of class names, 
with each class implementing Module interface. These are the custom modules 
loaded after the two standard ones that allow users to override any Cayenne 
runtime aspects, e.g. RequestHandler. Each custom module must have a no-arg 
constructor”.

HTH

Andrus


On Jun 26, 2014, at 12:13 AM, Emanuele Maiarelli <[email protected]> 
wrote:
> I'm wondering if it is possibile to specify the ServerRuntime to
> ROPHessianServlet
> injecting a MapLoader that 'moves' DbEntity on different database schema
> depending by ClientChannel authenticated user.
> 
> 
> 
> Any idea?
> 
> Regards
> 
> EM

Reply via email to