Package org.kie.internal.utils
Interface LazyLoaded<T>
-
- Type Parameters:
T
- type of service that is responsible for loading content
public interface LazyLoaded<T>
Provides support for lazy load of content of given data object e.g. process variable or case file data
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
load()
Loads the actual content based on other attribute of the instance using load service if given.void
setLoadService(T service)
Should be set after object construction (usually in marshaling strategies) so whenever is needed content can be loaded via this service
-
-
-
Method Detail
-
setLoadService
void setLoadService(T service)
Should be set after object construction (usually in marshaling strategies) so whenever is needed content can be loaded via this service- Parameters:
service
- service implementation capable of loading the content
-
load
void load()
Loads the actual content based on other attribute of the instance using load service if given.
-
-