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

com.arjuna.mw.wst11.common.CoordinationContextAction Maven / Gradle / Ivy

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

package com.arjuna.mw.wst11.common;

import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
import java.security.PrivilegedExceptionAction;

/**
 * @author Gytis Trikleris
 */
public class CoordinationContextAction implements PrivilegedExceptionAction {

    private static final CoordinationContextAction INSTANCE = new CoordinationContextAction();

    private CoordinationContextAction() {

    }

    public static CoordinationContextAction getInstance() {
        return INSTANCE;
    }

    @Override
    public JAXBContext run() throws JAXBException {
        return JAXBContext.newInstance("org.oasis_open.docs.ws_tx.wscoor._2006._06");
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy