commit | 5ad710722c38bd3f1b0487a584c8dfd71d5f7931 | [log] [tgz] |
---|---|---|
author | pingpingy1 <pingpingy@kaist.ac.kr> | Mon Mar 18 18:05:38 2024 +0900 |
committer | pingpingy1 <pingpingy@kaist.ac.kr> | Mon Mar 18 18:05:38 2024 +0900 |
tree | 731ed3b84bddf8ab92478fee1a05b28dc6881471 | |
parent | 0068a686a44514c3bb16d92a7be2cdb21a7e2662 [diff] |
Check for annotation in ActionCommand constructor The `ActionCommand` class takes an `actionClass` parameter for its constructor, whose `@Command` annotation accessed in the other methods. Thus, if the provided `actionClass` has no such annotations, then it will throw an NPE at a later, unspecified time. This commit implements a fail-fast guard against this scenarios.
Apache Karaf is a modulith runtime, supporting several frameworks and programming model (REST/API, web, spring boot, ...). It provides turnkey features that you can directly leverage without effort, packaged as mutable or immutable application.
For an Apache Karaf source distribution, please read BUILDING.md for instructions on building Apache Karaf.
For an Apache Karaf binary distribution, please read RELEASE-NOTES.md for installation instructions and list of supported and unsupported features.
The PDF manual is the right place to find any information about Karaf.
The examples provide a bunch of turnkey minimal applications that you can deploy in Apache Karaf and extend/template as you want.
To get involved in Apache Karaf:
We also have a contributor's guide.
Many thanks for using Apache Karaf.
The Apache Karaf Team