This is an automated email from the ASF dual-hosted git repository. csantanapr pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push: new 162802d Added support for configurable java action method name. 162802d is described below commit 162802d6d79ead9940a2ecc9e1bf7296202efd0a Author: Minto van der Sluis <mi...@xup.nl> AuthorDate: Wed Oct 18 17:03:48 2017 -0400 Added support for configurable java action method name. --- core/javaAction/Dockerfile | 2 +- docs/actions.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/javaAction/Dockerfile b/core/javaAction/Dockerfile index 242c6a9..076f2c5 100644 --- a/core/javaAction/Dockerfile +++ b/core/javaAction/Dockerfile @@ -1 +1 @@ -FROM openwhisk/java8action:1.0.0 +FROM openwhisk/java8action:1.0.1 diff --git a/docs/actions.md b/docs/actions.md index a1d161e..b9dcdd9 100644 --- a/docs/actions.md +++ b/docs/actions.md @@ -863,6 +863,10 @@ class is one that implements a static `main` method as described above. If the class is not in the default package, use the Java fully-qualified class name, e.g., `--main com.example.MyMain`. +If needed you can also customize the method name of your Java action. This +can be done by specifying the Java fully-qualified method name of your action, +e.q., `--main com.example.MyMain#methodName` + Action invocation is the same for Java actions as it is for Swift and JavaScript actions: ``` -- To stop receiving notification emails like this one, please contact ['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].