org.jboss.client
Class ReflectionLauncher
java.lang.Object
org.jboss.client.ReflectionLauncher
- All Implemented Interfaces:
- AppClientLauncher
public class ReflectionLauncher
- extends Object
- implements AppClientLauncher
A AppClientLauncher implementation that simply looks for a static main
method on the
- Version:
- $Revision: 85945 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectionLauncher
public ReflectionLauncher()
launch
public void launch(String clientClass,
String clientName,
String[] args)
throws Throwable
- Launch a javaee client application.
- Specified by:
launch
in interface AppClientLauncher
- Parameters:
clientClass
- - the class whose main(String[]) will be invokedclientName
- - the client name that maps to the server side JNDI ENC.
May be null indicating the name should be taken from the client jar
descriptors/annotations.args
- - the args to pass to main method
- Throws:
Throwable
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.