com.sun.xml.ws.rx.util.JaxbContextRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webservices-rt Show documentation
Show all versions of webservices-rt Show documentation
This module contains the Metro runtime code.
/*
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package com.sun.xml.ws.rx.util;
import com.sun.xml.ws.rx.RxRuntimeException;
import com.sun.xml.bind.api.JAXBRIContext;
import com.sun.xml.ws.api.addressing.AddressingVersion;
import com.sun.istack.logging.Logger;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import javax.xml.ws.EndpointReference;
/**
* TODO javadoc
*
*
* WARNING: This class is a private utility class used by WS-RX implementation. Any usage outside
* the intedned scope is strongly discouraged. The API exposed by this class may be changed, replaced
* or removed without any advance notice.
*
*
* @author Marek Potociar
*/
public final class JaxbContextRepository {
private static final Logger LOGGER = Logger.getLogger(JaxbContextRepository.class);
//
private Map jaxbContexts;
private ThreadLocal