N
Nishi Bhonsle
I have to write a bean that triggers an event that removes a given file on the condition of the file system being full.
Since I am new to java beans, can you someone please let me know if I could do the follow the below approach-->
Create 3 classes --
FileSystemFullListener--interface extending EventListener
FileSystemFullBean--source bean that fires the systemFull event
FileSystemFullEvent
I will write a C program to detect the systemFull event. I should be including the systemFull call in the FileSystemFullEvent class, right?
How can I execute a C program call through a java program?
Thanks.
Since I am new to java beans, can you someone please let me know if I could do the follow the below approach-->
Create 3 classes --
FileSystemFullListener--interface extending EventListener
FileSystemFullBean--source bean that fires the systemFull event
FileSystemFullEvent
I will write a C program to detect the systemFull event. I should be including the systemFull call in the FileSystemFullEvent class, right?
How can I execute a C program call through a java program?
Thanks.