-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Collect JsPlugin instances before starting Jetty (#4885)
This reverses a DI dependency, preventing requiring that the server start up before plugins can be collected. Partial #4040
- Loading branch information
Showing
7 changed files
with
54 additions
and
49 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
plugin/src/main/java/io/deephaven/plugin/js/JsPluginRegistration.java
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package io.deephaven.plugin.js; | ||
|
||
/** | ||
* Observes registration of {@link JsPlugin} instances. | ||
*/ | ||
public interface JsPluginRegistration { | ||
/** | ||
* Handles registration of a {@link JsPlugin} instance. | ||
* | ||
* @param plugin the registered plugin | ||
*/ | ||
void register(JsPlugin plugin); | ||
} |
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
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
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