If you have instanciated a CachedDynamicResultSet on client
side already, use method connectToCache to connect your
given DynamicResultSet with this Cache.
can be an empty sequence. Otherwise, Source will be sorted according
to the given sorting data.
Parameter CompareFactory
will be ignored unless SortingInfo is not empty. Then the supplied
factory will be used to instanciate objects used to compare the
properties that are involved in sorting.
Throws
ListenerAlreadySetException
if Source is already in use.
Throws
AlreadyInitializedException
if TargetCache already has been initialized.