public class YarnContainerFactoryBean extends java.lang.Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.FactoryBean<YarnContainer>
YarnContainers.| Constructor and Description |
|---|
YarnContainerFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
YarnContainer |
getObject() |
java.lang.Class<YarnContainer> |
getObjectType() |
boolean |
isSingleton() |
void |
setContainerClass(java.lang.Class<? extends YarnContainer> containerClass)
Sets the container class.
|
void |
setContainerRef(YarnContainer containerRef)
Sets the container ref.
|
public YarnContainer getObject() throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<YarnContainer>java.lang.Exceptionpublic java.lang.Class<YarnContainer> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<YarnContainer>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<YarnContainer>public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic void setContainerClass(java.lang.Class<? extends YarnContainer> containerClass)
containerClass - the new container classpublic void setContainerRef(YarnContainer containerRef)
containerRef - the new container ref