R - must provide correct implementation of hashCode() and equals(Object)public interface ResourceHolder<R extends Serializable> extends Serializable
Current implementation assumes R is some sort of serializable resource reference that can be used to locate resource and determine resource up-to-date status against resource state captured in resource holder instance. For example, to determine if an input has changed, implementation needs to locate input's included inputs and check their status.
| Modifier and Type | Method and Description |
|---|---|
R |
getResource()
Returns resource handle, the resource does not have to exist.
|
ResourceStatus |
getStatus() |
R getResource()
ResourceStatus getStatus()
Copyright © 2015. All rights reserved.