org.springframework.yarn.container
Class YarnContainerFactoryBean
java.lang.Object
org.springframework.yarn.container.YarnContainerFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.FactoryBean<YarnContainer>, org.springframework.beans.factory.InitializingBean
public class YarnContainerFactoryBean
- extends java.lang.Object
- implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.FactoryBean<YarnContainer>
Simple factory bean for YarnContainer
s.
- Author:
- Janne Valkealahti
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YarnContainerFactoryBean
public YarnContainerFactoryBean()
getObject
public YarnContainer getObject()
throws java.lang.Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean<YarnContainer>
- Throws:
java.lang.Exception
getObjectType
public java.lang.Class<YarnContainer> getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean<YarnContainer>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean<YarnContainer>
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
setContainerClass
public void setContainerClass(java.lang.Class<? extends YarnContainer> containerClass)
- Sets the container class.
- Parameters:
containerClass
- the new container class
setContainerRef
public void setContainerRef(YarnContainer containerRef)
- Sets the container ref.
- Parameters:
containerRef
- the new container ref