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