Package com.sun.enterprise.connectors.util

Examples of com.sun.enterprise.connectors.util.JmsRaMapping


        Properties properties = new Properties();

        Target target = getResourceTarget(tgtName);

//        try {
            JmsRaMapping ramap = ConnectorRuntime.getRuntime().getJmsRaMapping();

            /* Map MQ properties to Resource adapter properties */
            if (props != null) {
                Enumeration en = props.keys();
                while (en.hasMoreElements()) {
                    String key = (String) en.nextElement();
                    String raKey = ramap.getMappedName(key);
                    if (raKey == null) raKey = key;
                    properties.put(raKey, (String) props.get(key));
                }
            }

View Full Code Here


            sLogger.log(Level.FINE, "mbean.create_resource", jndiName);
            ConfigContext serverContext = getConfigContext(mInstanceName);
            Resources resourcesBean =
                (Resources)ConfigBeansFactory.getConfigBeanByXPath(serverContext,
                                            ServerXPathHelper.XPATH_RESOURCES);
      JmsRaMapping ramap = ConnectorRuntime.getRuntime().getJmsRaMapping();

                /* Map MQ properties to Resource adapter properties */
    Enumeration en = props.keys();
    Properties properties = new Properties();
          while (en.hasMoreElements()) {
        String key = (String) en.nextElement();
        String raKey = ramap.getMappedName(key);
        if (raKey == null) raKey = key;
        properties.put(raKey, (String) props.get(key));
    }

                // Add a connector-connection-pool & a connector-resource
View Full Code Here

TOP

Related Classes of com.sun.enterprise.connectors.util.JmsRaMapping

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.