public class MVSServiceFactory
extends java.lang.Object
MVSService
. The implementation returned depends on the configuration value MVSConfig.getServiceInterfaceType()
Modifier and Type | Field and Description |
---|---|
protected static MVSServiceFactory |
instance |
Modifier | Constructor and Description |
---|---|
protected |
MVSServiceFactory()
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
MVSService |
createMVSService(org.apache.hadoop.conf.Configuration conf)
Creates a new
MVSService instance based on the job configuration parameter MVSConfig.CONF_SERVICE_INTERFACE . |
static MVSServiceFactory |
getInstance()
Gets an instance of
MVSServiceFactory |
protected static MVSServiceFactory instance
public static MVSServiceFactory getInstance()
MVSServiceFactory
public MVSService createMVSService(org.apache.hadoop.conf.Configuration conf)
MVSService
instance based on the job configuration parameter MVSConfig.CONF_SERVICE_INTERFACE
. If no MVSuggest configuration is found, it returns null.conf
- a new instance of MVSService