public class BundleDeployer extends AbstractDeployer implements org.osgi.framework.BundleActivator
logger
Constructor and Description |
---|
BundleDeployer() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File file) |
void |
onFileCreate(File file) |
void |
onFileDelete(File file) |
void |
open(Collection<File> files)
It's a good practice to install all bundles and then start them.
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
close, onFileChange
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
Exception
public void onFileCreate(File file)
onFileCreate
in interface Deployer
onFileCreate
in class AbstractDeployer
public void open(Collection<File> files)
open
in interface Deployer
open
in class AbstractDeployer
files
- the set of file.public void onFileDelete(File file)
onFileDelete
in interface Deployer
onFileDelete
in class AbstractDeployer
Copyright © 2009–2013 OW2 Chameleon. All rights reserved.