resourceProperty.add( prop_supportedresources );
// Topics
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 );
manageabilityEndpointDestruction.addTopic( manageableResourceDestruction );
muwsTopicSpace.addTopic( manageabilityEndpointCreation );
muwsTopicSpace.addTopic( manageabilityEndpointDestruction );
topicSpaceSet.addTopicSpace( muwsTopicSpace );
ManagementEventTopic identityCapability =
new XmlBeansManagementEventTopicImpl( IdentityCapability.TOPIC_NAME );
muwsTopicSpace.addTopic( identityCapability );
ManagementEventTopic manageabilityCharacteristicsCapability =
new XmlBeansManagementEventTopicImpl( ManageabilityCharacteristicsCapability.TOPIC_NAME );
muwsTopicSpace.addTopic( manageabilityCharacteristicsCapability );
ManagementEventTopic operationalStatusCapability =
new XmlBeansManagementEventTopicImpl( OperationalStatusCapability.TOPIC_NAME );
muwsTopicSpace.addTopic( operationalStatusCapability );
ManagementEventTopic muwsDescriptionCapability =
new XmlBeansManagementEventTopicImpl( DescriptionCapability.TOPIC_NAME );
muwsTopicSpace.addTopic( muwsDescriptionCapability );
ManagementEventTopic metricCapability =
new XmlBeansManagementEventTopicImpl( MetricsCapability.TOPIC_NAME );
muwsTopicSpace.addTopic( metricCapability );
// init the {http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd}ResourceId Resource Property
resourceProperty = resourcePropertySet.get( ResourceadminPropertyQNames.RESOURCEID );
org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.ResourceIdDocument prop_resourceid =
org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.ResourceIdDocument.Factory.newInstance( );