org.dom4j.util
public class SimpleSingleton extends Object implements SingletonStrategy
SimpleSingleton
is an implementation of the SingletonStrategy
interface used to provide common factory access for the same object instance.
This implementation will create a new instance from the class specified and
will not create a new one unless it is reset.
Version: $Revision: 1.3 $
Constructor Summary | |
---|---|
SimpleSingleton() |
Method Summary | |
---|---|
Object | instance() |
void | reset() |
void | setSingletonClassName(String singletonClassName) |