[jboss-user] [EJB 3.0] - Re: How to create singletons?

ALRubinger do-not-reply at jboss.com
Sat Nov 17 17:30:06 EST 2007


"yilmaz_" wrote : final guarantees the singleton but you cant change anything after an instance created.

Declaring a class as "final" means that it cannot be subclassed (be the parent to another class).  This does not place restrictions on how many instances of the class there may be.

S,
ALR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105811#4105811

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105811



More information about the jboss-user mailing list