-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(media-streaming): rename class
MediaStreamingBootstrap
- Loading branch information
1 parent
e9ea525
commit 0ca94d0
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,20 +14,20 @@ | |
import java.nio.file.Path; | ||
|
||
/** | ||
* Description: Bootstrap, change description here. | ||
* Description: MediaStreamingBootstrap, change description here. | ||
* | ||
* @author Johnny Miller (锺俊), email: [email protected], date: 10/19/2020 2:51 PM | ||
**/ | ||
@Slf4j | ||
@RequiredArgsConstructor | ||
public class Bootstrap implements CommandLineRunner { | ||
public class MediaStreamingBootstrap implements CommandLineRunner { | ||
private final VideoRepository videoRepository; | ||
private final FileService fileService; | ||
private final MediaStreamingProperties mediaStreamingProperties; | ||
|
||
@PostConstruct | ||
public void afterInitialization() { | ||
log.debug("Bootstrap initialization is done. Start to process videos."); | ||
private void postConstruct() { | ||
log.debug("MediaStreamingBootstrap initialization is done. Start to process videos."); | ||
log.debug("Starting FileWatcher..."); | ||
FileWatcher fileWatcher; | ||
try { | ||
|