org.codehaus.mojo.runtime.execute
Class RuntimeExecutor

java.lang.Object
  extended by org.codehaus.mojo.runtime.execute.RuntimeExecutor

public class RuntimeExecutor
extends Object

The default implementation of an executor for the runtime plugin jar implementation.

The executor acts as a conduit to main methods that are keyed in the runtime descriptor.

Everything is wrapped up in their own jars with the Executor and the RuntimeClassLoader as the only classes in the jar. This allows the runtime classloader to load up all of the underlying dependencies main methods referred to in the runtime descriptor

Version:
$Id: RuntimeExecutor.java 2166 2006-07-18 21:32:16Z carlos $
Author:
jesse

Constructor Summary
RuntimeExecutor()
           
 
Method Summary
 void init()
          harvest the jar.runtime descriptor from the jar and pull out executables map
static void main(String[] args)
           
 void processRequest(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeExecutor

public RuntimeExecutor()
Method Detail

init

public void init()
harvest the jar.runtime descriptor from the jar and pull out executables map


processRequest

public void processRequest(String[] args)

main

public static void main(String[] args)


Copyright © 2011 Codehaus. All Rights Reserved.