org.talend.esb.servicelocator.client.internal
Class JaxbContextHandler

java.lang.Object
  extended by org.talend.esb.servicelocator.client.internal.JaxbContextHandler

public class JaxbContextHandler
extends Object

JaxbContextHandler manages the global JAXBContext used for WS-Addressing elements and locator endpoint elements.

Methods to get the context are not synchronized because the rare case where the context is initialized a second time is tolerable.


Method Summary
static JAXBContext getAddressingContext()
           
static JAXBContext getEndpointContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEndpointContext

public static JAXBContext getEndpointContext()
                                      throws JAXBException
Throws:
JAXBException

getAddressingContext

public static JAXBContext getAddressingContext()
                                        throws JAXBException
Throws:
JAXBException


Copyright © 2011-2013 Talend Inc.. All Rights Reserved.