public class YarnContainerFactoryBean extends java.lang.Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.FactoryBean<YarnContainer>
YarnContainer
s.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.Exception
public 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.InitializingBean
java.lang.Exception
public void setContainerClass(java.lang.Class<? extends YarnContainer> containerClass)
containerClass
- the new container classpublic void setContainerRef(YarnContainer containerRef)
containerRef
- the new container ref