org.apache.ws.notification.topics.TopicSpaceSet topicSpaceSet = getTopicSpaceSet( );
TopicSpace muwsTopicSpace =
new TopicSpaceImpl( MuwsConstants.NSURI_MUWS_PART2_TOPICS );
Topic manageabilityEndpointCreation =
new XmlBeansAdvertisementTopicImpl( AdvertisementCapability.TOPIC_MANAGEABILITY_ENPOINT_CREATION_NAME,
false );
Topic manageabilityEndpointDestruction =
new XmlBeansAdvertisementTopicImpl( AdvertisementCapability.TOPIC_MANAGEABILITY_ENPOINT_DESTRUCTION_NAME,
false );
XmlBeansAdvertisementTopicImpl manageableResourceCreation =
new XmlBeansAdvertisementTopicImpl( AdvertisementCapability.TOPIC_MANAGEABLE_RESOURCE_CREATION_NAME );
XmlBeansAdvertisementTopicImpl manageableResourceDestruction =
new XmlBeansAdvertisementTopicImpl( AdvertisementCapability.TOPIC_MANAGEABLE_RESOURCE_DESTRUCTION_NAME );
//register listeners for those topics with all known to resourceadmin homes....
addListenersToHomes( manageableResourceCreation, manageableResourceDestruction );
manageabilityEndpointCreation.addTopic( manageableResourceCreation );