Issue 6: Implementar singleTons nas dao
Status:  Invalid
Owner:
Closed:  Apr 2008
Project Member Reported by dtcab...@gmail.com, Apr 16, 2008
Implementar  dessa forma:


public class Singleton {
          public final static Singleton INSTANCE = new Singleton();
          private Singleton() {
                // Exists only to defeat instantiation.
             }
       }



na classe que chama ...
 Singleton singleton = Singleton.INSTANCE;
 singleton.dothis();
 singleton.dothat();

OBS.: Verificar se esta maneira e melhor do que a classica
 
Apr 24, 2008
Project Member #1 dtcab...@gmail.com
(No comment was entered for this change.)
Status: Invalid