public class JFXActivator extends Object implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
JFXActivator()
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
setArguments(String[] arguments)
Set arguments that application was started with.
|
void |
setConfig(Map<String,Object> config)
Set application configuration parameters.
|
void |
setWindowService(JFXWindowService service)
Sets main application window windowService.
|
void |
start(org.osgi.framework.BundleContext bc)
Starts the bundle and registers basic application services.
|
void |
stop(org.osgi.framework.BundleContext bc) |
public void start(org.osgi.framework.BundleContext bc) throws Exception
JFXWindowService
for interaction with main application windowDMXApplication
for basic application information start
in interface org.osgi.framework.BundleActivator
bc
- bundle contextException
- if an error occurspublic void stop(org.osgi.framework.BundleContext bc) throws Exception
stop
in interface org.osgi.framework.BundleActivator
Exception
public void setWindowService(JFXWindowService service)
service
- windowService to setpublic void setArguments(String[] arguments)
arguments
- application argumentsCopyright © 2012-2014 Vektor Software. All Rights Reserved.