A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Other Application Frameworks
How I can make multiple instances of a SEAM component?
Joined: May 16, 2010
May 16, 2010 10:25:07
I've been having troubles making multiples instances of a Seam Component,
I've tried to do:
... // previous code
MyClass object1 = Component.getInstance("myClass",true);
MyClass object2 = Component.getInstance("myClass",true);
MyClass object3 = Component.getInstance("myClass",true);
... //more code
But I've been readed that the getInstance() method uses the Singleton
so object1, object2 and object3 refers to the same instance :S
I need three different instances of that component, could you help me please?
Sorry about my english but I don't speak english.
I agree. Here's the link:
- it saves me about five hours per week
subject: How I can make multiple instances of a SEAM component?
Is this explanation correct?
jaxb marshall java to xml
How to search for nested objects?
store more than one object into a file [ObjectOutputStream]
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013