Class HotSwappableTargetSource

All Implemented Interfaces:
Serializable, TargetClassAware, TargetSource

public class HotSwappableTargetSource extends Object implements TargetSource, Serializable
TargetSource implementation that caches a local target object, but allows the target to be swapped while the application is running.

If configuring an object of this class in a Spring IoC container, use constructor injection.

This TargetSource is serializable if the target is at the time of serialization.

Rod Johnson, Juergen Hoeller
See Also: