Multiple instances of class with static constructor
<p>I have existing design of sort of "singleton" implementation with static constructor.
I want to be able to destroy and recreate new instance.  </p>

<p>Can this be done without changing the base design?</p>

<p>This is simplified prototype: </p>

<pre><code>public static void main(String[] args) {
     ClassA.doWork();
     ClassA.destruct();

     ClassA.doWork(); // &lt;--I need new instance here
}

public class ClassA {
    private static ClassA inst = new ClassA();
    protected ClassA() {
        //init      
    }   
    public static void doWork(){
        //do work
    }   
    public static void destruct(){
        inst = null;
    }
}
</code></pre>
