keith-turner commented on a change in pull request #904: Fixes #897 added 
context to application docs and moved some docs from?
URL: https://github.com/apache/fluo/pull/904#discussion_r132261218
 
 

 ##########
 File path: docs/applications.md
 ##########
 @@ -70,31 +80,6 @@ FluoClient client = FluoFactory.newClient(config)
 
 It may help to reference the [API javadocs][API] while you are learning the 
Fluo API.
 
-## Running application code
-
-The `fluo exec <app name> <class> {arguments}` provides an easy way to execute 
application code. It
-will execute a class with a main method if a jar containing the class is 
placed in the lib directory
-of the application. When the class is run, Fluo classes and dependencies will 
be on the classpath.
-The `fluo exec` command can inject the applications configuration if the class 
is written in the
-following way. Defining the injection point is optional.
-
-```java
-import javax.inject.Inject;
-
-public class AppCommand {
-
-  //when run with fluo exec command, the applications configuration will be 
injected
-  @Inject
-  private static FluoConfiguration fluoConfig;
-
-  public static void main(String[] args) throws Exception {
-    try(FluoClient fluoClient = FluoFactory.newClient(fluoConfig)) {
-      //do stuff with Fluo
-    }
-  }
-}
-```
-
 ## Creating a Fluo observer
 
 Review comment:
   Based on this comment I removed some redundant info at the end of this 
section.  Is that what you were thinking of?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to