ro.isdc.wro.util
Class DestroyableLazyInitializer<T>

java.lang.Object
  extended by ro.isdc.wro.util.LazyInitializer<T>
      extended by ro.isdc.wro.util.DestroyableLazyInitializer<T>

public abstract class DestroyableLazyInitializer<T>
extends LazyInitializer<T>

A subclass of LazyInitializer allows to destroy the created object.

Since:
1.4.2
Author:
Alex Objelean

Field Summary
 
Fields inherited from class ro.isdc.wro.util.LazyInitializer
object
 
Constructor Summary
DestroyableLazyInitializer()
           
 
Method Summary
 void destroy()
          Destroy the initialized object.
 
Methods inherited from class ro.isdc.wro.util.LazyInitializer
get, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DestroyableLazyInitializer

public DestroyableLazyInitializer()
Method Detail

destroy

public final void destroy()
Destroy the initialized object. This will trigger the re-initialization when LazyInitializer.get() method is invoked.



Copyright © 2008-2013. All Rights Reserved.