public class ConfigurationDelegatingFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.FactoryBean<org.apache.hadoop.conf.Configuration>
Configuration
from a StandaloneYarnCluster
.Constructor and Description |
---|
ConfigurationDelegatingFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.apache.hadoop.conf.Configuration |
getObject() |
java.lang.Class<org.apache.hadoop.conf.Configuration> |
getObjectType() |
boolean |
isSingleton() |
void |
setCluster(YarnCluster cluster)
Sets the
StandaloneYarnCluster |
public org.apache.hadoop.conf.Configuration getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<org.apache.hadoop.conf.Configuration>
java.lang.Exception
public java.lang.Class<org.apache.hadoop.conf.Configuration> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<org.apache.hadoop.conf.Configuration>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<org.apache.hadoop.conf.Configuration>
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public void setCluster(YarnCluster cluster)
StandaloneYarnCluster
cluster
- the StandaloneYarnCluster