//
// this allows the advertisement capability to hear about
// all resource lifecycle events that happen in the application
//
ResourceManager manager = resource.getResourceManager();
manager.addListener(this);
//
// initialize the advertisement topics
//
NotificationProducer wsn =