FileDocCategorySizeDatePackage
ServiceChannelCreator.javaAPI DocExample3297Fri Jul 06 12:07:48 BST 2007com.sun.xml.ws.transport.tcp.servicechannel

ServiceChannelCreator

public class ServiceChannelCreator extends Object
author
Alexey Stashok

Fields Summary
private static final com.sun.xml.ws.api.server.WSEndpoint
endpoint
Constructors Summary
Methods Summary
private static com.sun.xml.ws.api.server.WSEndpointcreateEndpoint()

    
        
        final QName serviceName = WSEndpoint.getDefaultServiceName(ServiceChannelWSImpl.class);
        final QName portName = WSEndpoint.getDefaultPortName(serviceName, ServiceChannelWSImpl.class);
        final BindingID bindingId = BindingID.parse(ServiceChannelWSImpl.class);
        final WSBinding binding = bindingId.createBinding();
            
        return WSEndpoint.create(
                    ServiceChannelWSImpl.class, true,
                    null,
                    serviceName, portName, null, binding,
                    null, null, (EntityResolver) null, true
                    );
        
    
public static com.sun.xml.ws.api.server.WSEndpointgetServiceChannelEndpointInstance()

        return endpoint;