cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Cayenne 3.1 ROP and Multitenancy
Date Fri, 27 Jun 2014 06:32:38 GMT
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 <maiarelli.emanuele@gmail.com> 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


Mime
View raw message