Package org.switchyard.component.jca.endpoint

Examples of org.switchyard.component.jca.endpoint.AbstractInflowEndpoint


            }
        } catch (Exception e) {
            throw JCAMessages.MESSAGES.couldnTAcquireTheResourceAdapter(raName, e);
        }
       
         AbstractInflowEndpoint endpoint = null;
         Class<?> endpointClass = null;
         try {
             endpointClass = (Class<?>)_appClassLoader.loadClass(endpointClassName);
             endpoint = (AbstractInflowEndpoint) endpointClass.newInstance();
             if (!endpointProps.isEmpty()) {
                 PropertyEditors.mapJavaBeanProperties(endpoint, endpointProps);
             }
         } catch (Exception e) {
             throw JCAMessages.MESSAGES.endpointClass(endpointClassName, e);
         }

         boolean transacted = inboundInteractionModel.isTransacted();
         endpoint.setApplicationClassLoader(_appClassLoader)
                     .setServiceDomain(getServiceDomain())
                     .setServiceQName(name)
                     .setDeliveryTransacted(transacted)
                     .setJCABindingModel(jcaconfig);
View Full Code Here

TOP

Related Classes of org.switchyard.component.jca.endpoint.AbstractInflowEndpoint

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.