Rio Project 4.2 API Documentation



org.rioproject.tools.webster
Class InternalWebster

java.lang.Object
  extended by org.rioproject.tools.webster.InternalWebster

public class InternalWebster
extends Object

Helper class for starting an Internal Webster

Author:
Dennis Reedy

Constructor Summary
InternalWebster()
           
 
Method Summary
static void main(String[] args)
           
static int startWebster(String exportJar)
          Start an internal webster, setting the webster root to the location this class was loaded from, and appending exportJar as the export codebase for the JVM.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalWebster

public InternalWebster()
Method Detail

startWebster

public static int startWebster(String exportJar)
                        throws IOException
Start an internal webster, setting the webster root to the location this class was loaded from, and appending exportJar as the export codebase for the JVM.

This method should only be called by Jini client entities that require their export codebase to be set and arent clever enough to have the location of where Webster should serve code from

Parameters:
exportJar - The jar to set for the codebase
Returns:
The port Webster has been started on
Throws:
IOException - If there are errors creating Webster

main

public static void main(String[] args)

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.