|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.util.LazyInitializer<T>
T
- type of valuepublic abstract class LazyInitializer<T>
An abstraction for lazy-initializing values. Guarantees only a single instance of the value is created. Initialized value WILL NOT be serialized, and will be recreated upon de-serialization.
Constructor Summary | |
---|---|
LazyInitializer()
|
Method Summary | |
---|---|
protected abstract T |
createInstance()
Creates the lazy value |
T |
get()
Provides an instance of type T |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LazyInitializer()
Method Detail |
---|
public T get()
IProvider
T
get
in interface IProvider<T>
T
protected abstract T createInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |