Class EntityReaderRegistry
java.lang.Object
de.hybris.platform.odata2services.odata.processor.reader.EntityReaderRegistry
Registry that manages and provides EntityReaders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetReader(org.apache.olingo.odata2.api.uri.UriInfo uriInfo) Get the firstEntityReaderthat can read from the commerce suite given theUriInfovoidsetEntityReaders(Collection<EntityReader> readers)
-
Constructor Details
-
EntityReaderRegistry
public EntityReaderRegistry()
-
-
Method Details
-
getReader
Get the firstEntityReaderthat can read from the commerce suite given theUriInfo- Parameters:
uriInfo- Use to determine whichEntityReadercan do the reading- Returns:
- An
EntityReader - Throws:
RuntimeException- or a derivative of it if noEntityReaderis found
-
setEntityReaders
-