public interface MCvalueStorageProvider
By default the toolkit stores large attribute values in memory or temporary files, depending on configuration and value size. This interface can be used to provide application defined value storage locations and strategies.
Instances implementing this interface can be registered using the
MCapplication.registerValueStorageProvider(MCvalueStorageProvider, int)
method. See the description
of that method for more details.
Modifier and Type | Method and Description |
---|---|
MCvalueStorage |
getStorage(MCattributeSet host,
MCtag tag)
This method is called by the toolkit to obtain a new value storage instance.
|
MCvalueStorage getStorage(MCattributeSet host, MCtag tag)
host
- The attribute set for which the storage is required. Note that this may be a sequence item if
the attribute is inside a sequence.tag
- The tag identifying the attribute for which the storage is requested. This is the same as the
tag provided when this instance was registered with the application.