This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Flex and the fly likes Can we break a singleton pattern in flex by using ObjectUtil.copy or ObjectUtil.clone methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Can we break a singleton pattern in flex by using ObjectUtil.copy or ObjectUtil.clone methods" Watch "Can we break a singleton pattern in flex by using ObjectUtil.copy or ObjectUtil.clone methods" New topic
Author

Can we break a singleton pattern in flex by using ObjectUtil.copy or ObjectUtil.clone methods

Shridhar Raghavan
Ranch Hand

Joined: May 27, 2010
Posts: 71
Was wondering if i can create one instance of Whatever and then create copies of each instance thereby breaking the pattern?

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can we break a singleton pattern in flex by using ObjectUtil.copy or ObjectUtil.clone methods
 
Similar Threads
about Singleton Pattern
Need help.....
what is different in singleton design pattern
Singletons - What are they and how/why would you use them?
How to get the Single Instance of a class - singleton -Basic