aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Lazy Loading pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Lazy Loading pattern" Watch "Lazy Loading pattern" New topic
Author

Lazy Loading pattern

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

Pattern

Instead of holding a reference to the real object, you manage an intermediary Reference instance.

Examples:-

a) Eclipse 3.2 API



b) OSGi R4 api



Does anybody know if there's a formal definition of this pattern somewhere ?
Or is it worthy to be called a pattern ?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
"Patterns of Enterprise Application Architecture" has a Lazy Load pattern included: http://www.developerdotstar.com/mag/bookreviews/joyce_PEAA.html

Don't have my copy at hand, so I can't tell how closely it fits your description.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Lazy Loading pattern