Package org.marid.test.spring
Class TempFolder
java.lang.Object
org.marid.test.spring.TempFolder
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<java.nio.file.Path>,org.springframework.beans.factory.InitializingBean
public class TempFolder
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean<java.nio.file.Path>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
-
Constructor Summary
Constructors Constructor Description TempFolder(java.lang.String prefix) -
Method Summary
Modifier and Type Method Description voidafterPropertiesSet()voiddestroy()java.nio.file.PathgetObject()java.lang.Class<java.nio.file.Path>getObjectType()
-
Constructor Details
-
TempFolder
public TempFolder(java.lang.String prefix)
-
-
Method Details
-
getObject
public java.nio.file.Path getObject()- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<java.nio.file.Path>
-
getObjectType
public java.lang.Class<java.nio.file.Path> getObjectType()- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<java.nio.file.Path>
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
destroy
public void destroy() throws java.lang.Exception- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
java.lang.Exception
-