All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arjuna.webservices11.util.MapBuilderAction Maven / Gradle / Ivy

/*
   Copyright The Narayana Authors
   SPDX-License-Identifier: Apache-2.0
 */

package com.arjuna.webservices11.util;

import org.jboss.ws.api.addressing.MAPBuilder;
import org.jboss.ws.api.addressing.MAPBuilderFactory;

import java.security.PrivilegedAction;

/**
 * @author Gytis Trikleris
 */
public class MapBuilderAction implements PrivilegedAction {

    private static final MapBuilderAction INSTANCE = new MapBuilderAction();

    private MapBuilderAction() {

    }

    public static MapBuilderAction getInstance() {
        return INSTANCE;
    }

    @Override
    public MAPBuilder run() {
        return MAPBuilderFactory.getInstance().getBuilderInstance();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy