|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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()
IProviderT
get in interface IProvider<T>Tprotected abstract T createInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||