Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.arjuna.webservices11.wsarjtx.client;
 
 import  org.jboss.ws.api.addressing.MAP;
 
 import java.util.Map;

Created by IntelliJ IDEA. User: adinn Date: Nov 16, 2007 Time: 6:02:28 PM To change this template use File | Settings | File Templates.
public class TerminationClient
    // we need a service per thread
    {
        if (.get() == null) {
        }
        return .get();
    }
    {
        if (.get() == null) {
        }
        return .get();
    }
    {
        TerminationParticipantPortType port = service.getPort(TerminationParticipantPortType.classnew AddressingFeature(truetrue));
        BindingProvider bindingProvider = (BindingProvider)port;
        Map<StringObjectrequestContext = bindingProvider.getRequestContext();
        AddressingHelper.configureRequestContext(requestContextmap);
        return port;
    }
    public static TerminationCoordinatorPortType getRegistrationPort(MAP map)
    {
        TerminationCoordinatorPortType port = service.getPort(TerminationCoordinatorPortType.classnew AddressingFeature(truetrue));
        BindingProvider bindingProvider = (BindingProvider)port;
        Map<StringObjectrequestContext = bindingProvider.getRequestContext();
        AddressingHelper.configureRequestContext(requestContextmap);
        AddressingHelper.configureRequestContext(requestContextmap);
        return port;
    }
New to GrepCode? Check out our FAQ X