Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[higgins-dev] Should IdASRegisty be a singleton?

I don't recall whether this was discussed.  I guess I expected it would be so was a slightly surprised to see it's not.  I guess it begs for use cases.
 
I could see where it would be good for an application server environment like Websphere/JBoss or even within an Eclipse application.  One could register/configure their context providers at the application framework level so specific IdAS consumers could take advantage of that.
 
Conversely, in the same environments, some IdAS consumers may wish to use their own IdASRegistry instances.  Or maybe they'd even want to clone the existing one and simply re-order the registered factories.
 
Jim

Back to the top