org.apache.tuscany.sca.node.equinox.launcher
Class DomainManagerLauncher

java.lang.Object
  extended by org.apache.tuscany.sca.node.equinox.launcher.DomainManagerLauncher

public class DomainManagerLauncher
extends java.lang.Object

Simple launcher for the SCA domain manager.


Method Summary
<T> T
createDomainManager()
          Creates a new DomainManager.
<T> T
createDomainManager(java.lang.String rootDirectory)
          Creates a new DomainManager.
static void main(java.lang.String[] args)
           
static DomainManagerLauncher newInstance()
          Returns a new launcher instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static DomainManagerLauncher newInstance()
Returns a new launcher instance.

Returns:
a new launcher instance

createDomainManager

public <T> T createDomainManager()
                      throws LauncherException
Creates a new DomainManager.

Returns:
a new DomainManager
Throws:
LauncherException

createDomainManager

public <T> T createDomainManager(java.lang.String rootDirectory)
                      throws LauncherException
Creates a new DomainManager.

Parameters:
rootDirectory - the domain's root configuration directory
Returns:
a new DomainManager
Throws:
LauncherException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception