public class DefaultResourceFactory extends java.lang.Object implements ResourceFactory
Constructor and Description |
---|
DefaultResourceFactory() |
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends java.lang.Object> |
getResourceInstances(org.apache.samza.config.Config config)
Constructs and returns resource instances to register with the server.
|
public java.util.List<? extends java.lang.Object> getResourceInstances(org.apache.samza.config.Config config)
ResourceFactory
getResourceInstances
in interface ResourceFactory
config
- the server config used to initialize the objects.