Package com.sun.enterprise.jbi.serviceengine.core

Examples of com.sun.enterprise.jbi.serviceengine.core.DescriptorEndpointInfo


    }

    private ServiceEndpoint activateEndpoint(QName serviceName, String endpointName)
            throws JBIException {
        String key = DescriptorEndpointInfo.getDEIKey(serviceName, endpointName);
        DescriptorEndpointInfo dei = registry.getJBIEndpts().get(key);
        if(dei != null) {
            serviceName = dei.getServiceName();
            endpointName = dei.getEndpointName();
        }
        return context.activateEndpoint(serviceName, endpointName);
    }
View Full Code Here


        QName jbiServiceName = me.getEndpoint().getServiceName();
        String jbiEndpointName = me.getEndpoint().getEndpointName();
       
        String key = DescriptorEndpointInfo.getDEIKey(
                jbiServiceName, jbiEndpointName);
        DescriptorEndpointInfo dei = EndpointRegistry.getInstance().
                getWSDLEndpts().get(key);
       
        QName actualServiceName = dei !=null ? dei.getServiceName() : jbiServiceName;
        String actualEndpointName = dei != null ? dei.getEndpointName() : jbiEndpointName;
       
        ServiceEngineEndpoint seEndpoint =  EndpointRegistry.getInstance().
                get(actualServiceName, actualEndpointName);
       
        if(seEndpoint.isJAXWSEndpoint()) {
View Full Code Here

            MessageExchange me = getMessageExchange();
            String endpointName = me.getEndpoint().getEndpointName();
            QName service = me.getEndpoint().getServiceName();

            String key = DescriptorEndpointInfo.getDEIKey(service, endpointName);
            DescriptorEndpointInfo dei = EndpointRegistry.getInstance().getWSDLEndpts().get(key);
            if(dei != null) {
                service = dei.getServiceName();
                endpointName = dei.getEndpointName();
            }
            JBIAdapterBuilder builder = new JBIAdapterBuilder();
            JBIAdapter jbiAdapter = null;
           
            try {
View Full Code Here

    public void initialize() {
        try {
            DeliveryChannel channel =
                    JavaEEServiceEngineContext.getInstance(). getDeliveryChannel();
            String key = DescriptorEndpointInfo.getDEIKey(service, endpointName);
            DescriptorEndpointInfo dei = EndpointRegistry.getInstance().getJBIEndpts().get(key);
            QName service = (dei == null)? this.service:dei.getServiceName();
            String endpointName = (dei == null)? this.endpointName:dei.getEndpointName();

            // Create MessageExchange
            MessageExchangeFactory factory =
                    channel.createExchangeFactoryForService(service);
            me =  oneWay ? factory.createInOnlyExchange() : factory.createInOutExchange();
View Full Code Here

TOP

Related Classes of com.sun.enterprise.jbi.serviceengine.core.DescriptorEndpointInfo

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.