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
    void afterPropertiesSet()  
    void destroy()  
    java.nio.file.Path getObject()  
    java.lang.Class<java.nio.file.Path> getObjectType()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.beans.factory.FactoryBean

    isSingleton
  • Constructor Details

    • TempFolder

      public TempFolder​(java.lang.String prefix)
  • Method Details

    • getObject

      public java.nio.file.Path getObject()
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<java.nio.file.Path>
    • getObjectType

      public java.lang.Class<java.nio.file.Path> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<java.nio.file.Path>
    • afterPropertiesSet

      public void afterPropertiesSet() throws java.lang.Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      java.lang.Exception
    • destroy

      public void destroy() throws java.lang.Exception
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
      Throws:
      java.lang.Exception