Results 1 to 1 of 1
What are Custom Scopes in Spring Framework
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 Spring FrameworkReplies: 0Last Post: 04-02-2008, 11:36 AM
- By Java Tip in forum Java TipReplies: 0Last Post: 04-01-2008, 11:39 AM
- By JavaBean in forum Java TipReplies: 0Last Post: 10-04-2007, 10:21 PM
- By JavaBean in forum Java TipReplies: 0Last Post: 09-28-2007, 01:48 PM
- By JavaBean in forum Java TipReplies: 0Last Post: 09-26-2007, 09:30 PM