Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is scope="tenant" mean?

 
Jyothsna Panchagnula
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see that in the Spring configuration files , that scope="tenant" is used ?
I tried searching in Springsource.org , Spring forums and googled it but couldn't get much info.

a) where this will be used and in what contenxt?
b) what is the purpose of it?


thanks
Jyothsna
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I can tell you it is not a standard scope. Either it is custom to your application or to some other 3rd party library you are using. You can search for CustomScopeConfigurer in your context xml files to see if you can find it being registered anywhere and then take a look at the implementation to figure out what it does. If you don't find it there you can look for all implemenations of the Scope interface in your workspace and try to figure out what library it is coming out of.

Good luck
 
Adrien Be
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a Hybris scope.

This is only for version prior Hybris 5.

Tenant scope: (Hybris <5) one bean instantiated per tenant of hybris.

More info on the Hybris forum & wiki. see https://wiki.hybris.com/display/release4/Multi-Tenant+Systems
 
Krishna Srinivasan
Ranch Hand
Posts: 1862
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is not the standard scope defined by spring framework. This must be a custom scope defined by your application.
http://www.javabeat.net/2013/03/spring-bean-scopes-request-session-global-session-example/
 
Salil Vverma
Ranch Hand
Posts: 257
Hibernate Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Adrien,

What is Hybris ? how is it related to spring ?

Regards
Salil Verma
 
Adrien Be
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Salil Vverma wrote:
What is Hybris ? how is it related to spring ?

Hybris is an eCommerce platform written in Java. Hybris uses Spring. see http://www.hybris.com/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic