Package org.apache.ws.notification.topics

Examples of org.apache.ws.notification.topics.TopicListener


    * @param topic DOCUMENT_ME
    */
   public synchronized void topicChanged( Topic topic )
   {
      Iterator      listenerIterator = this.m_listeners.iterator(  );
      TopicListener listener;
      while ( listenerIterator.hasNext(  ) )
      {
         listener = (TopicListener) listenerIterator.next(  );
         listener.topicChanged( topic );
      }
   }
View Full Code Here


         synchronized ( topicListenerList )
         {
            Iterator topicListenerIterator = topicListenerList.topicListenerIterator(  );
            while ( topicListenerIterator.hasNext(  ) )
            {
               TopicListener listener = (TopicListener) topicListenerIterator.next(  );
               if ( listener instanceof SubscriptionTopicListener )
               {
                  SubscriptionTopicListener lt = (SubscriptionTopicListener) listener;
                  Object                    subKey = lt.getSubscription(  ).getID(  );
                  if ( subKey.equals( m_id ) )
View Full Code Here

            synchronized ( topicListenerList )
            {
                Iterator topicListenerIterator = topicListenerList.topicListenerIterator();
                while ( topicListenerIterator.hasNext() )
                {
                    TopicListener listener = (TopicListener) topicListenerIterator.next();
                    if ( listener instanceof SubscriptionTopicListener )
                    {
                        SubscriptionTopicListener lt =
                                (SubscriptionTopicListener) listener;
                        Object subKey =
View Full Code Here

    }

    public synchronized void topicAdded( Topic topic )
    {
        Iterator listenerIterator = this.m_listeners.iterator();
        TopicListener listener;

        while ( listenerIterator.hasNext() )
        {
            listener = (TopicListener) listenerIterator.next();
            listener.topicAdded( topic );
        }
    }
View Full Code Here

    }

    public synchronized void topicChanged( Topic topic )
    {
        Iterator listenerIterator = this.m_listeners.iterator();
        TopicListener listener;
        while ( listenerIterator.hasNext() )
        {
            listener = (TopicListener) listenerIterator.next();
            listener.topicChanged( this );
        }
    }
View Full Code Here

    }

    public synchronized void topicRemoved( Topic topic )
    {
        Iterator listenerIterator = this.m_listeners.iterator();
        TopicListener listener;
        while ( listenerIterator.hasNext() )
        {
            listener = (TopicListener) listenerIterator.next();
            listener.topicRemoved( topic );
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.ws.notification.topics.TopicListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.