org.objectweb.dream.adl
Class LaunchAndRegister

java.lang.Object
  extended by org.objectweb.dream.adl.LaunchAndRegister

public class LaunchAndRegister
extends Object

This class extends the LaunchAndRegisterclass by registering the launched component into a Registry.

Usage:
LaunchAndRegister [-factory=<factory def>] [-backend=<backend def>] [-ns=<registry name>] [-name=<registration name>] <definition> [ <itf> ]
Where <definition> is the name of the component to be instantiated and started,and <itf> is the name of its Runnable interface, if it has one.
Where <definition> is the name of the component to be instantiated, registered and started.

Note 1: if no registry name is provided, a new registry (with default settings) is created.

Note 2: if no registration name is specified, the launched component must have a NameController.

See Also:
Launcher

Constructor Summary
LaunchAndRegister()
           
 
Method Summary
static void main(String[] args)
          Entry point
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaunchAndRegister

public LaunchAndRegister()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Entry point

Parameters:
args - command line arguments
Throws:
Exception - if error.


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.