Examples of UDDICustodyTransferPortType


Examples of org.uddi.v3_service.UDDICustodyTransferPortType

    @Override
    public UDDICustodyTransferPortType getUDDICustodyTransferService(final String endpointURL)
        throws TransportException
    {
        final UDDICustodyTransferPortType currentCustodyTransferService = custodyTransferService.get() ;
        if (currentCustodyTransferService != null)
        {
            return currentCustodyTransferService ;
        }
        final String custodyTransferURL = getUDDINode(managerName, nodeName).getCustodyTransferUrl() ;
        final Service service = Service.create(WSDL_CUSTODY_TRANSFER_SERVICE, QNAME_CUSTODY_TRANSFER_SERVICE) ;
        final UDDICustodyTransferPortType newCustodyTransferService = (UDDICustodyTransferPortType) service.getPort(UDDICustodyTransferPortType.class) ;
        initialiseEndpoint(newCustodyTransferService, custodyTransferURL) ;
        if (custodyTransferService.compareAndSet(null, newCustodyTransferService))
        {
            return newCustodyTransferService ;
        }
View Full Code Here

Examples of org.uddi.v3_service.UDDICustodyTransferPortType

    @Override
    public UDDICustodyTransferPortType getUDDICustodyTransferService(final String endpointURL)
        throws TransportException
    {
        final UDDICustodyTransferPortType currentCustodyTransferService = custodyTransferService.get() ;
        if (currentCustodyTransferService != null)
        {
            return currentCustodyTransferService ;
        }
        final String custodyTransferURL = getUDDINode(managerName, nodeName).getCustodyTransferUrl() ;
        final UDDICustodyTransferPortType newCustodyTransferService = lookupService(jndiEnv, custodyTransferURL) ;
        if (custodyTransferService.compareAndSet(null, newCustodyTransferService))
        {
            return newCustodyTransferService ;
        }
        else
View Full Code Here

Examples of org.uddi.v3_service.UDDICustodyTransferPortType

    @Override
    public UDDICustodyTransferPortType getUDDICustodyTransferService(final String endpointURL)
        throws TransportException
    {
        final UDDICustodyTransferPortType current = uddiCustodyTransferPortTypeRef.get() ;
        if (current != null)
        {
            return current ;
        }
        final String custodyTransferUrl ;
        if (endpointURL == null)
        {
            try
            {
                final UDDIClerkManager manager = UDDIClientContainer.getUDDIClerkManager(managerName) ;
                custodyTransferUrl = manager.getClientConfig().getUDDINode(nodeName).getCustodyTransferUrl() ;
            }
            catch (final ConfigurationException ce)
            {
                throw new TransportException("Could not discover custodyTransferUrl for node " + nodeName, ce) ;
            }
        }
        else
        {
            custodyTransferUrl = endpointURL ;
        }
        final Object delegatePortType = createDelegate(custodyTransferUrl) ;
        final InvocationHandler handler = new TaskHandler(delegatePortType) ;
        final UDDICustodyTransferPortType uddiCustodyTransferPortType = (UDDICustodyTransferPortType) Proxy.newProxyInstance(classLoader,
            new Class[] {UDDICustodyTransferPortType.class}, handler) ;
        if (uddiCustodyTransferPortTypeRef.compareAndSet(null, uddiCustodyTransferPortType))
        {
            return uddiCustodyTransferPortType ;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.