RichFaces Photoalbum 4.3.0.Final

org.richfaces.photoalbum.util
Class CopyImageStuff

java.lang.Object
  extended by org.richfaces.photoalbum.util.CopyImageStuff

@ApplicationScoped
public class CopyImageStuff
extends Object

Utility class, that perform copying images from ear file to temp folder at startup application

Author:
Andrey Markavtsov

Constructor Summary
CopyImageStuff()
           
 
Method Summary
 void create()
          Method, that perform copying images from ear file to temp folder at startup application
 void destroy()
          Method, that perform deleting images from temp folder during destroy application
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyImageStuff

public CopyImageStuff()
Method Detail

create

@PostConstruct
public void create()
            throws IOException
Method, that perform copying images from ear file to temp folder at startup application

Throws:
IOException

destroy

@PreDestroy
public void destroy()
             throws IOException
Method, that perform deleting images from temp folder during destroy application

Throws:
IOException

RichFaces Photoalbum 4.3.0.Final

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.