Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core Implementation 4.2.3.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.util
Class LazyLoadingObject<T>

    java.lang.Object
      org.richfaces.util.LazyLoadingObject<T>

    public abstract class LazyLoadingObject<T>

extends Object

Provides proxy for object which is constructed internally in `loadData()` method.

Proxy satisfied that `loadData()` will not be called before first usage of the proxy by any available method, providing deferred (lazy) initialization.

In constructor, interfaces which will implement provided proxy can be passed.

Author:
  Lukas Fryc

Constructor Summary
`LazyLoadingObject(Class<?>... interfaces)`

Method Summary
`T` | `getLazilyLoaded()`
`protected abstract T` | `loadData()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LazyLoadingObject

    public LazyLoadingObject(Class<?>... interfaces)

Method Detail

### loadData

    protected abstract T loadData()

### getLazilyLoaded

    public T getLazilyLoaded()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core Implementation 4.2.3.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.