1 17 package org.apache.servicemix.wsn.client; 18 19 import javax.jbi.JBIException; 20 21 import org.apache.servicemix.client.ServiceMixClient; 22 import org.oasis_open.docs.wsn.br_2.DestroyRegistration; 23 import org.w3._2005._08.addressing.EndpointReferenceType; 24 25 public class Publisher extends AbstractWSAClient { 26 27 public Publisher(EndpointReferenceType publisherRegistrationReference, ServiceMixClient client) { 28 super(publisherRegistrationReference, client); 29 } 30 31 public void destroy() throws JBIException { 32 request(new DestroyRegistration()); 33 } 34 35 } 36 | Popular Tags |