1 10 11 package com.sun.enterprise.jbi.serviceengine.bridge; 12 13 import com.sun.enterprise.deployment.ServiceReferenceDescriptor; 14 import com.sun.enterprise.webservice.ServiceEngineUtil; 15 import com.sun.enterprise.webservice.spi.InvInterfaceCreationListener; 16 import javax.xml.ws.Dispatch; 17 18 22 public class PortCreationListenerImpl implements InvInterfaceCreationListener{ 23 24 27 private ServiceReferenceDescriptor serviceRef; 28 29 30 public PortCreationListenerImpl(ServiceReferenceDescriptor serviceRef) { 31 this.serviceRef = serviceRef; 32 } 33 34 39 public <T> void portCreated(T port, Class <T> serviceEndpointInterface) { 40 ServiceEngineUtil.setJBITransportFactory(serviceRef, port, serviceEndpointInterface); 41 } 42 43 48 public <T> void dispatchCreated(Dispatch<T> dispatch, Class <T> serviceEndpointInterface) { 49 } 51 } 52 | Popular Tags |