Package com.arjuna.webservices

Examples of com.arjuna.webservices.SoapRegistry


        // Add Arjuna handlers
        ArjunaPolicy.register(handlerRegistry) ;
        // Add Completion coordinator.
        CompletionCoordinatorPolicy.register(handlerRegistry) ;
       
        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
        soapRegistry.registerSoapService(AtomicTransactionConstants.SERVICE_COMPLETION_COORDINATOR,
            new SoapService(handlerRegistry)) ;
    }
View Full Code Here


        // Add Arjuna handlers
        ArjunaPolicy.register(handlerRegistry) ;
        // Add Coordinator Completion coordinator.
        CoordinatorCompletionCoordinatorPolicy.register(handlerRegistry) ;
       
        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
        soapRegistry.registerSoapService(BusinessActivityConstants.SERVICE_COORDINATOR_COMPLETION_COORDINATOR,
            new SoapService(handlerRegistry)) ;
    }
View Full Code Here

    protected void setUp()
        throws Exception
    {
        origActivationCoordinatorProcessor = ActivationCoordinatorProcessor.setCoordinator(testActivationCoordinatorProcessor) ;
        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
        final String activationCoordinatorServiceURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_ACTIVATION_COORDINATOR) ;
        activationCoordinatorService = new EndpointReferenceType(new AttributedURIType(activationCoordinatorServiceURI)) ;
        final String activationRequesterServiceURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_ACTIVATION_REQUESTER) ;
        activationRequesterService = new EndpointReferenceType(new AttributedURIType(activationRequesterServiceURI)) ;
       
        origRegistrationCoordinatorProcessor = RegistrationCoordinatorProcessor.setCoordinator(testRegistrationCoordinatorProcessor) ;
        final String registrationCoordinatorServiceURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_REGISTRATION_COORDINATOR) ;
        registrationCoordinatorService = new EndpointReferenceType(new AttributedURIType(registrationCoordinatorServiceURI)) ;
        final String registrationRequesterServiceURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_REGISTRATION_REQUESTER) ;
        registrationRequesterService = new EndpointReferenceType(new AttributedURIType(registrationRequesterServiceURI)) ;
    }
View Full Code Here

         * DeploymentContextFactory.deploymentContext();
         * com.arjuna.mw.wsas.context.Context theContext =
         * manager.context();
         */

                final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
                final String registrationCoordinatorURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_REGISTRATION_COORDINATOR) ;
               
                final ArjunaContextImple arjunaContext = ArjunaContextImple.getContext() ;
                final CoordinationContextType coordinationContext = new CoordinationContextType() ;
                coordinationContext.setCoordinationType(new URI(coordinationTypeURI)) ;
                coordinationContext.setIdentifier(new AttributedURIType(arjunaContext.getTransactionIdentifier(0))) ;
View Full Code Here

    protected void setUp()
        throws Exception
    {
        origCoordinatorCompletionCoordinatorProcessor = CoordinatorCompletionCoordinatorProcessor.setCoordinator(testCoordinatorCompletionCoordinatorProcessor) ;
        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
        coordinatorCompletionCoordinatorServiceURI = soapRegistry.getServiceURI(BusinessActivityConstants.SERVICE_COORDINATOR_COMPLETION_COORDINATOR) ;
        coordinatorCompletionParticipantServiceURI = soapRegistry.getServiceURI(BusinessActivityConstants.SERVICE_COORDINATOR_COMPLETION_PARTICIPANT) ;
    }
View Full Code Here

             * implementation.
             */

            if (_activationCoordinatorService == null)
            {
                final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
                _activationCoordinatorService = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_ACTIVATION_COORDINATOR) ;
            }
        }
        catch (Exception ex)
        {
            // TODO
View Full Code Here

        }
    }
   
    private EndpointReferenceType getParticipantProtocolService(final String id)
    {
        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
        final String serviceURI = soapRegistry.getServiceURI(ArjunaTXConstants.SERVICE_TERMINATION_PARTICIPANT) ;
        final EndpointReferenceType participant = new EndpointReferenceType(new AttributedURIType(serviceURI)) ;
        InstanceIdentifier.setEndpointInstanceIdentifier(participant, id) ;
        return participant ;
    }
View Full Code Here

        // Add Arjuna handlers
        ArjunaPolicy.register(handlerRegistry) ;
        // Add Registration coordinator.
        RegistrationCoordinatorPolicy.register(handlerRegistry) ;
       
        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
        soapRegistry.registerSoapService(CoordinationConstants.SERVICE_REGISTRATION_COORDINATOR,
            new SoapService(handlerRegistry)) ;
    }
View Full Code Here

        // Add WS-Addressing
        AddressingPolicy.register(handlerRegistry) ;
        // Add Activation coordinator.
        ActivationRequesterPolicy.register(handlerRegistry) ;
       
        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
        soapRegistry.registerSoapService(CoordinationConstants.SERVICE_ACTIVATION_REQUESTER,
            new SoapService(handlerRegistry)) ;
    }
View Full Code Here

        if (coordinationTypeURI.equals(TestUtil.INVALID_CREATE_PARAMETERS_COORDINATION_TYPE))
            throw new InvalidCreateParametersException();

        CoordinationContextType testCoordinationContext = new CoordinationContextType();

        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
        final String registrationURI = soapRegistry.getServiceURI(CoordinationConstants.SERVICE_REGISTRATION_COORDINATOR) ;
        final EndpointReferenceType registrationService = new EndpointReferenceType(new AttributedURIType(registrationURI)) ;
       
        testCoordinationContext.setIdentifier(new AttributedURIType(Integer.toString(nextIdentifier()))) ;
        testCoordinationContext.setCoordinationType(new URI(_coordinationType)) ;
        testCoordinationContext.setRegistrationService(registrationService) ;
View Full Code Here

TOP

Related Classes of com.arjuna.webservices.SoapRegistry

Copyright © 2018 www.massapicom. 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.