org.richfaces.photoalbum.util
Class ImageCopier
java.lang.Object
org.richfaces.photoalbum.util.ImageCopier
@ApplicationScoped
public class ImageCopier
- extends Object
Utility class, that perform copying images from ear file to temp folder at startup application
- Author:
- Andrey Markavtsov
|
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 |
ImageCopier
public ImageCopier()
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
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.