public abstract class OryxResource extends Object
ServingModelManager.| Modifier and Type | Field and Description |
|---|---|
static String |
INPUT_PRODUCER_KEY |
static String |
MODEL_MANAGER_KEY |
| Constructor and Description |
|---|
OryxResource() |
| Modifier and Type | Method and Description |
|---|---|
protected TopicProducer<?,?> |
getInputProducer() |
protected ServingModelManager<?> |
getServingModelManager() |
protected void |
init() |
public static final String MODEL_MANAGER_KEY
public static final String INPUT_PRODUCER_KEY
@PostConstruct protected void init()
protected final ServingModelManager<?> getServingModelManager()
ServingModelManager for the app, configured in the
ServletContext under key MODEL_MANAGER_KEYprotected final TopicProducer<?,?> getInputProducer()
TopicProducer for the app, configured in the
ServletContext under key INPUT_PRODUCER_KEYCopyright © 2014–2018. All rights reserved.