Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

What is scope="tenant" mean?

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1880
Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
Ranch Hand
Posts: 257
Hibernate Oracle Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
That's a very big dog. I think I want to go home now and hug this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic