org.ow2.petals.component.framework.api.notification.notify
Interface NotifyController


public interface NotifyController

This controller centralize the Component Notify's. It creates them one time at the subscription, and delete them at the unsubscription. It delivers them at the Producer witch process them.

Author:
Frederic Gardes

Method Summary
 void add(com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType subscriptionReference, com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe)
          Add a subscription and create its Component Notify list
 void process(Class<?> clazz, Exchange exchange)
          Process a kind of Notify
 void remove(com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType subscriptionReference)
          Remove a subscription
 

Method Detail

add

void add(com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType subscriptionReference,
         com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe)
         throws com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException,
                com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException,
                XPathExpressionException,
                TransformerFactoryConfigurationError,
                TransformerException,
                ParserConfigurationException
Add a subscription and create its Component Notify list

Parameters:
subscriptionReference - The subscription reference
subscribe - The subscription to store
Throws:
com.ebmwebsourcing.wsstar.notification.definition.utils.WSNotificationException
ParserConfigurationException
TransformerException
TransformerFactoryConfigurationError
XPathExpressionException
com.ebmwebsourcing.wsstar.notification.extension.utils.WSNotificationExtensionException

remove

void remove(com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType subscriptionReference)
Remove a subscription

Parameters:
subscriptionReference - The subscription reference to remove

process

void process(Class<?> clazz,
             Exchange exchange)
Process a kind of Notify

Parameters:
clazz - The Class of Notify to process
exchange - The exchange used by create the Notify


Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.