class ServiceDecoratorBundleListener implements BundleListener {

    @Override
    public void bundleChanged(BundleEvent be) {
        switch(be.getType()) {
        case BundleEvent.STARTED:
            this.serviceDecorator.addDecorations(be.getBundle());
            break;
        case BundleEvent.STOPPING:
            this.serviceDecorator.removeDecorations(be.getBundle());
            break;
        default:
        }
    }

    public  ServiceDecoratorBundleListener(ServiceDecoratorImpl serviceDecorator);

}