Results 1 to 1 of 1
- 09-28-2007, 12:48 PM #1
What are Custom Scopes in SpringFramework
Scoping mechanism in Spring is extensible. Spring provides feature for define your own scopes, or even redefine the existing scopes (although that last one would probably be considered bad practice – It is important that built-in singleton and prototype scopes) can not be overridden.
org.springframework.beans.factory.config.Scope needs to be implemented while integrating your own custom scope(s) into the Spring container. The interface is quite simple, with only two methods to get and remove an object from/to an underlying storage mechanism respectively.
- By Java Tip in forum Java TipReplies: 0Last Post: 03-31-2008, 10:09 AM
- By ravian in forum New To JavaReplies: 2Last Post: 12-29-2007, 05:05 PM
- By Bojevnik in forum Advanced JavaReplies: 4Last Post: 10-29-2007, 05:00 PM
- By Felissa in forum JavaServer Faces (JSF)Replies: 1Last Post: 06-06-2007, 03:36 AM