Method Summary |
|
abstract protected Object | createObject() Subclasses should implement this method to return the lazy initialized object. |
public synchronized Object | getTarget() Returns the lazy-initialized target object,
creating it on-the-fly if it doesn't exist already. |
public synchronized Class | getTargetClass() This default implementation returns null if the
target is null (it is hasn't yet been initialized),
or the target class if the target has already been initialized. |
public synchronized boolean | isInitialized() Return whether the lazy target object of this TargetSource
has already been fetched. |
public boolean | isStatic() |
public void | releaseTarget(Object target) |