Package org.jboss.ws.extensions.eventing.deployment

Examples of org.jboss.ws.extensions.eventing.deployment.EventingEndpointDeployment


            // Therefore we have to avoid duplicate registrations
            // Actually there should be a 1:n mapping of event source NS to endpoints.
            // See also http://jira.jboss.org/jira/browse/JBWS-770

            // 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


   private void init()
   {
      try
      {
         EventingEndpointDeployment deploymentInfo = new EventingEndpointDeployment("http://schemas.xmlsoap.org/ws/2004/08/eventing/Warnings", null, null);
         deploymentInfo.setEndpointAddress("http://localhost:8080/jaxws-wseventing/manage");
         deploymentInfo.setPortName(new QName("http://schemas.xmlsoap.org/ws/2004/08/eventing","SubscriptionManagerPort"));

         subscriptionManager = new SubscriptionManager();
         subscriptionManager.registerEventSource(deploymentInfo);
         subscriptionManager.registerEventSource(deploymentInfo);
         subscriptionManager.start();
View Full Code Here

            // Therefore we have to avoid duplicate registrations
            // Actually there should be a 1:n mapping of event source NS to endpoints.
            // See also http://jira.jboss.org/jira/browse/JBWS-770

            // 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

/* 52 */         throw new IllegalStateException("Cannot obtain endpoint meta data");
/*    */       }
/* 54 */       EventingEpMetaExt ext = (EventingEpMetaExt)sepMetaData.getExtension("http://schemas.xmlsoap.org/ws/2004/08/eventing");
/* 55 */       if (ext != null)
/*    */       {
/* 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

TOP

Related Classes of org.jboss.ws.extensions.eventing.deployment.EventingEndpointDeployment

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.