@ApplicationScoped public class ImageCopier extends Object
| Constructor and Description |
|---|
ImageCopier() |
| Modifier and Type | Method and Description |
|---|---|
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
|
@PostConstruct public void create() throws IOException
IOException@PreDestroy public void destroy() throws IOException
IOExceptionCopyright © 2015. All rights reserved.