org.apache.ws.muws.v1_0.topics.impl
Class XmlBeansManagementEventTopicImpl

java.lang.Object
  extended byorg.apache.ws.notification.topics.impl.TopicImpl
      extended byorg.apache.ws.muws.v1_0.topics.impl.XmlBeansManagementEventTopicImpl
All Implemented Interfaces:
java.util.EventListener, ManagementEventTopic, org.apache.ws.resource.properties.ResourcePropertyValueChangeListener, org.apache.ws.notification.topics.ResourcePropertyValueChangeTopic, org.apache.ws.notification.topics.Topic, org.apache.ws.notification.topics.TopicListener, org.apache.ws.notification.topics.TopicListenerList, org.apache.ws.notification.topics.TopicSet

public class XmlBeansManagementEventTopicImpl
extends org.apache.ws.notification.topics.impl.TopicImpl
implements ManagementEventTopic

A ManagementEvent topic listener for generic management events and PropChange->Management Events.

Author:
Sal Campana

Field Summary
 
Fields inherited from class org.apache.ws.notification.topics.impl.TopicImpl
m_currentMsg, m_listeners, m_name, m_reference, m_subTopics, m_topicPath, m_topicSpace
 
Constructor Summary
XmlBeansManagementEventTopicImpl(java.lang.String capabilityName)
           
 
Method Summary
 void propertyChanged(org.apache.ws.resource.properties.ResourcePropertyValueChangeEvent event)
           
 void publish(ManagementEvent me)
          This method is used to send a ManagementEvent to subscribers to this topic.
 void setPropChangeManagemntEvent(ManagementEvent me)
          This operation is used to set the default ManagementEvent to be used when sending Property Changed Management Events.
 
Methods inherited from class org.apache.ws.notification.topics.impl.TopicImpl
addTopic, addTopic, addTopicListener, containsTopic, getCurrentMessage, getName, getParent, getTopic, getTopicPath, getTopicReference, getTopicSpace, isReference, publish, removeTopic, removeTopic, removeTopicListener, setTopicPath, setTopicReference, setTopicSpace, topicAdded, topicChanged, topicIterator, topicListenerIterator, topicRemoved, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.ws.notification.topics.Topic
getCurrentMessage, getName, getTopicPath, getTopicReference, getTopicSpace, isReference, publish, setTopicPath, setTopicReference, setTopicSpace
 
Methods inherited from interface org.apache.ws.notification.topics.TopicSet
addTopic, addTopic, containsTopic, getTopic, removeTopic, topicIterator
 
Methods inherited from interface org.apache.ws.notification.topics.TopicListenerList
addTopicListener, removeTopicListener, topicListenerIterator
 

Constructor Detail

XmlBeansManagementEventTopicImpl

public XmlBeansManagementEventTopicImpl(java.lang.String capabilityName)
Method Detail

setPropChangeManagemntEvent

public void setPropChangeManagemntEvent(ManagementEvent me)
This operation is used to set the default ManagementEvent to be used when sending Property Changed Management Events. Note: The object must implement XmlObjectWrapper, the getXmlObject() operation will be used to get a new instance of the Management Event for use to throw the event.

Parameters:
me -

propertyChanged

public void propertyChanged(org.apache.ws.resource.properties.ResourcePropertyValueChangeEvent event)
Specified by:
propertyChanged in interface org.apache.ws.resource.properties.ResourcePropertyValueChangeListener

publish

public void publish(ManagementEvent me)
This method is used to send a ManagementEvent to subscribers to this topic. precondition: The param ManagementEvent should be complete and not rely on any setters in this topic.

Specified by:
publish in interface ManagementEventTopic
Parameters:
me -


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.