Examples of SubscriptionManagerFactory


Examples of org.jboss.ws.extensions.eventing.mgmt.SubscriptionManagerFactory

   /**
    * Access local subscription manager service.
    */
   protected SubscriptionManagerMBean getSubscriptionManager()
   {
      SubscriptionManagerFactory factory = SubscriptionManagerFactory.getInstance();
      SubscriptionManagerMBean subscriptionManager = factory.getSubscriptionManager();
      return subscriptionManager;
   }
View Full Code Here

Examples of org.jboss.ws.extensions.eventing.mgmt.SubscriptionManagerFactory

            // create pending incomplete event source
            EventingEndpointDeployment desc = new EventingEndpointDeployment(ext.getEventSourceNS(), ext.getNotificationSchema(), ext.getNotificationRootElementNS());
            desc.setEndpointAddress(sepMetaData.getEndpointAddress());
            desc.setPortName(sepMetaData.getPortName());

            SubscriptionManagerFactory factory = SubscriptionManagerFactory.getInstance();
            SubscriptionManagerMBean manager = factory.getSubscriptionManager();
            manager.registerEventSource(desc);
         }
      }
   }
View Full Code Here

Examples of org.jboss.ws.extensions.eventing.mgmt.SubscriptionManagerFactory

            throw new IllegalStateException("Cannot obtain endpoint meta data");

         EventingEpMetaExt ext = (EventingEpMetaExt)sepMetaData.getExtension(EventingConstants.NS_EVENTING);
         if (ext != null)
         {
            SubscriptionManagerFactory factory = SubscriptionManagerFactory.getInstance();
            SubscriptionManagerMBean manager = factory.getSubscriptionManager();
            manager.removeEventSource(ext.getEventSourceURI());
         }
      }
   }
View Full Code Here

Examples of org.jboss.ws.extensions.eventing.mgmt.SubscriptionManagerFactory

            // create pending incomplete event source
            EventingEndpointDeployment desc = new EventingEndpointDeployment(ext.getEventSourceNS(), ext.getNotificationSchema(), ext.getNotificationRootElementNS());
            desc.setEndpointAddress(sepMetaData.getEndpointAddress());
            desc.setPortName(sepMetaData.getPortName());

            SubscriptionManagerFactory factory = SubscriptionManagerFactory.getInstance();
            SubscriptionManagerMBean manager = factory.getSubscriptionManager();
            manager.registerEventSource(desc);
         }
      }
   }
View Full Code Here

Examples of org.jboss.ws.extensions.eventing.mgmt.SubscriptionManagerFactory

            throw new IllegalStateException("Cannot obtain endpoint meta data");

         EventingEpMetaExt ext = (EventingEpMetaExt)sepMetaData.getExtension(EventingConstants.NS_EVENTING);
         if (ext != null)
         {
            SubscriptionManagerFactory factory = SubscriptionManagerFactory.getInstance();
            SubscriptionManagerMBean manager = factory.getSubscriptionManager();
            manager.removeEventSource(ext.getEventSourceURI());
         }
      }
   }
View Full Code Here

Examples of org.jboss.ws.extensions.eventing.mgmt.SubscriptionManagerFactory

   /**
    * Access local subscription manager service.
    */
   protected SubscriptionManagerMBean getSubscriptionManager()
   {
      SubscriptionManagerFactory factory = SubscriptionManagerFactory.getInstance();
      SubscriptionManagerMBean subscriptionManager = factory.getSubscriptionManager();
      return subscriptionManager;
   }
View Full Code Here

Examples of org.jboss.ws.extensions.eventing.mgmt.SubscriptionManagerFactory

/* 58 */     return inProps;
/*    */   }
/*    */
/*    */   protected SubscriptionManagerMBean getSubscriptionManager()
/*    */   {
/* 66 */     SubscriptionManagerFactory factory = SubscriptionManagerFactory.getInstance();
/* 67 */     SubscriptionManagerMBean subscriptionManager = factory.getSubscriptionManager();
/* 68 */     return subscriptionManager;
/*    */   }
View Full Code Here

Examples of org.jboss.ws.extensions.eventing.mgmt.SubscriptionManagerFactory

/*    */       {
/* 63 */         EventingEndpointDeployment desc = new EventingEndpointDeployment(ext.getEventSourceNS(), ext.getNotificationSchema(), ext.getNotificationRootElementNS());
/* 64 */         desc.setEndpointAddress(sepMetaData.getEndpointAddress());
/* 65 */         desc.setPortName(sepMetaData.getPortName());
/*    */
/* 67 */         SubscriptionManagerFactory factory = SubscriptionManagerFactory.getInstance();
/* 68 */         SubscriptionManagerMBean manager = factory.getSubscriptionManager();
/* 69 */         manager.registerEventSource(desc);
/*    */       }
/*    */     }
/*    */   }
View Full Code Here

Examples of org.jboss.ws.extensions.eventing.mgmt.SubscriptionManagerFactory

/* 81 */         throw new IllegalStateException("Cannot obtain endpoint meta data");
/*    */       }
/* 83 */       EventingEpMetaExt ext = (EventingEpMetaExt)sepMetaData.getExtension("http://schemas.xmlsoap.org/ws/2004/08/eventing");
/* 84 */       if (ext != null)
/*    */       {
/* 86 */         SubscriptionManagerFactory factory = SubscriptionManagerFactory.getInstance();
/* 87 */         SubscriptionManagerMBean manager = factory.getSubscriptionManager();
/* 88 */         manager.removeEventSource(ext.getEventSourceURI());
/*    */       }
/*    */     }
/*    */   }
View Full Code Here

Examples of org.wso2.carbon.event.core.subscription.SubscriptionManagerFactory

        // setting the subscription manager
        OMElement subscriptionManager =
                config.getFirstChildWithName(new QName(EventBrokerConstants.EB_CONF_NAMESPACE,
                        EventBrokerConstants.EB_CONF_ELE_SUBSCRIPTION_MANAGER));
        SubscriptionManagerFactory subscriptionManagerFactory =
                (SubscriptionManagerFactory) JavaUtil.getObject(subscriptionManager);
        carbonEventBroker.setSubscriptionManager(
                subscriptionManagerFactory.getSubscriptionManager(subscriptionManager));

        // setting the delivery manager
        OMElement delivaryManager =
                config.getFirstChildWithName(new QName(EventBrokerConstants.EB_CONF_NAMESPACE,
                        EventBrokerConstants.EB_CONF_ELE_DELIVERY_MANAGER));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.