Class TimeRotationWriterFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<RotationWriter>
-
- org.onebusaway.container.rotation.TimeRotationWriterFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<RotationWriter>,org.springframework.beans.factory.InitializingBean
public class TimeRotationWriterFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<RotationWriter>
SpringFactoryBeanto construct aRotationWriterwith aTimeRotationStrategy. Specify thepathproperty to set the output format/path for theTimeRotationStrategy.- Author:
- bdferris
-
-
Constructor Summary
Constructors Constructor Description TimeRotationWriterFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RotationWritercreateInstance()Class<?>getObjectType()voidsetPath(String path)
-
-
-
Method Detail
-
setPath
public void setPath(String path)
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<RotationWriter>- Specified by:
getObjectTypein classorg.springframework.beans.factory.config.AbstractFactoryBean<RotationWriter>
-
createInstance
protected RotationWriter createInstance() throws Exception
- Specified by:
createInstancein classorg.springframework.beans.factory.config.AbstractFactoryBean<RotationWriter>- Throws:
Exception
-
-