org.apache.karaf.shell.commands
Class JavaAction

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.commands.JavaAction
All Implemented Interfaces:
Action

public class JavaAction
extends AbstractAction

Execute a Java standard application.

By default looks for static main(String[]) to execute, but you can specify a different static method that takes a String[] to execute instead.

Version:
$Rev: 593392 $ $Date: 2007-11-09 03:14:15 +0100 (Fri, 09 Nov 2007) $

Field Summary
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
JavaAction()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
 
Methods inherited from class org.apache.karaf.shell.console.AbstractAction
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaAction

public JavaAction()
Method Detail

doExecute

protected java.lang.Object doExecute()
                              throws Exception
Specified by:
doExecute in class AbstractAction
Throws:
Exception


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.