public interface ContentWorkerSelector<W extends ContentWorker>
The notion of supplying some type of worker looks a bit odd here, but really an instance of this type will act as an optional factory. Also, in the context of the calling class, the context and the generics will identify exactly which type is returned by the factory.
W getWorker(org.alfresco.service.cmr.repository.ContentReader reader)
reader - the content reader, providing the actual stream metadata
and even the stream, if required.org.alfresco.service.cmr.repository.ContentIOException - if the search failsCopyright © 2005–2014 Alfresco Software. All rights reserved.