T - the configuration typepublic class DromblerACPStarter<T extends DromblerACPConfiguration>
extends org.drombler.commons.client.startup.main.DromblerClientStarter<T>
BootServiceStarters gets started with special support to start the OSGi framework.| Constructor and Description |
|---|
DromblerACPStarter(T configuration)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.drombler.commons.client.startup.main.ApplicationInstanceListener |
getApplicationInstanceListener()
Gets an
ApplicationInstanceListener implementation which registers the additional command line args as an AdditionalArgumentsProvider OSGi service. |
org.osgi.framework.launch.Framework |
getFramework()
Gets the OSGi framework.
|
static void |
main(String[] args)
Runs the Drombler ACP starter as an application.
|
void |
start()
Registers the additional command line args as an
AdditionalArgumentsProvider OSGi service. |
public DromblerACPStarter(T configuration)
configuration - the configurationpublic static void main(String[] args) throws URISyntaxException, IOException, org.drombler.commons.client.startup.main.MissingPropertyException, org.osgi.framework.BundleException, InterruptedException, Exception
CommandLineArgs and its switches.args - the command line argsURISyntaxExceptionIOExceptionorg.drombler.commons.client.startup.main.MissingPropertyExceptionorg.osgi.framework.BundleExceptionInterruptedExceptionExceptionpublic void start()
AdditionalArgumentsProvider OSGi service.start in class org.drombler.commons.client.startup.main.DromblerClientStarter<T extends DromblerACPConfiguration>public final org.osgi.framework.launch.Framework getFramework()
protected org.drombler.commons.client.startup.main.ApplicationInstanceListener getApplicationInstanceListener()
ApplicationInstanceListener implementation which registers the additional command line args as an AdditionalArgumentsProvider OSGi service.getApplicationInstanceListener in class org.drombler.commons.client.startup.main.DromblerClientStarter<T extends DromblerACPConfiguration>Copyright © 2012–2019 Drombler. All rights reserved.