ASHK01 / spring-multi-tenancy

Multi Tenancy Support for Spring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-multi-tenancy

Build Status codecov Join the chat at https://gitter.im/mdeinum/spring-multi-tenancy Codacy Badge

Utilizing the TargetSource and AOP infrastructure of Spring this enables for dynamic switching of basically anything. This has been used in production for switching SessionFactory's and/or DataSources based on some request parameter. As of Hibernate 4.1 multi-tenant support is build into hibernate, this multi-tenant support also has been integrated into this. Finally we added also support for Spring Integration, there is a ChannelInterceptor which can be added to your channels to set/get the context from a message header.

Basic Usage

AOP

Hibernate

Web

Server

Client

Theme

Spring Integration

Spring Web Services

About

Multi Tenancy Support for Spring

License:Apache License 2.0


Languages

Language:Java 86.4%Language:Shell 8.0%Language:Batchfile 5.6%