org.apache.ws.notification.topics.util
Class TopicUtils

java.lang.Object
  extended byorg.apache.ws.notification.topics.util.TopicUtils

public class TopicUtils
extends java.lang.Object

A utility class containing static methods used as helpers for working with WSN Topics.

Author:
Sal Campana

Constructor Summary
TopicUtils()
           
 
Method Summary
static Topic addResourcePropertyValueChangeTopic(org.apache.ws.resource.properties.ResourceProperty prop, TopicSpaceSet topicSpaceSet)
          Adds a topic for the specified property to the specified topic set.
static Topic[] addResourcePropertyValueChangeTopics(org.apache.ws.resource.properties.ResourcePropertySet propSet, TopicSpaceSet topicSpaceSet)
          Adds topics for all non-readonly properties from the specified property set to the specified topic set.
static Topic addResourceTerminationTopic(TopicSpaceSet topicSpaceSet, org.apache.ws.resource.Resource resource, org.apache.ws.resource.properties.NamespaceVersionHolder namespaces)
          Adds the topic for ResourceTermination....there should be only one of these!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopicUtils

public TopicUtils()
Method Detail

addResourcePropertyValueChangeTopic

public static Topic addResourcePropertyValueChangeTopic(org.apache.ws.resource.properties.ResourceProperty prop,
                                                        TopicSpaceSet topicSpaceSet)
                                                 throws java.lang.Exception
Adds a topic for the specified property to the specified topic set.

Parameters:
prop -
topicSpaceSet -
Returns:
Throws:
java.lang.Exception

addResourcePropertyValueChangeTopics

public static Topic[] addResourcePropertyValueChangeTopics(org.apache.ws.resource.properties.ResourcePropertySet propSet,
                                                           TopicSpaceSet topicSpaceSet)
                                                    throws java.lang.Exception
Adds topics for all non-readonly properties from the specified property set to the specified topic set.

Parameters:
propSet -
topicSpaceSet -
Returns:
Throws:
java.lang.Exception

addResourceTerminationTopic

public static Topic addResourceTerminationTopic(TopicSpaceSet topicSpaceSet,
                                                org.apache.ws.resource.Resource resource,
                                                org.apache.ws.resource.properties.NamespaceVersionHolder namespaces)
                                         throws java.lang.Exception
Adds the topic for ResourceTermination....there should be only one of these!

Parameters:
topicSpaceSet -
Returns:
Throws:
java.lang.Exception


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