Examples of EZBJNDIData


Examples of org.ow2.easybeans.resolver.api.EZBJNDIData

            logger.warn("There may be a problem for message destination '" + messageDestinationName + "', too many answers : '"
                    + jndiDataList + "'. Using the first entry");
        }

        // Only one item found, so get JNDI Name from this object
        EZBJNDIData jndiData = jndiDataList.get(0);
        // Update JNDI name
        jndiName = jndiData.getName();
        if (logger.isDebugEnabled()) {
            logger.debug("Found JNDI Name '" + jndiName + "' for message destination '" + messageDestinationName
                    + "', answers : '" + jndiDataList + "'.");
        }
View Full Code Here

Examples of org.ow2.easybeans.resolver.api.EZBJNDIData

                if (messageDestinationList != null) {
                    for (IMessageDestination messageDestination : messageDestinationList) {
                        String messageDestinationName = messageDestination.getName();
                        String mappedName = messageDestination.getMappedName();
                        if (mappedName != null) {
                            EZBJNDIData jndiData = new JNDIData(mappedName);
                            this.containerJNDIResolver.addMessageDestinationJNDIName(messageDestinationName, jndiData);
                        } else {
                            this.logger.warn("Found a message-destination with name ''{0}'' without mapped name",
                                    messageDestinationName);
                        }
View Full Code Here

Examples of org.ow2.easybeans.resolver.api.EZBJNDIData

        }

        String beanName = jndiData.getBeanName();

        // Existing info about the bean ?
        EZBJNDIData existingData = beansMap.get(beanName);
        if (existingData != null) {
            logger.warn("Data already set for '" + jndiData + "' for the container URL '" + this.containerURL + "'.");
        }

        // Put info
View Full Code Here

Examples of org.ow2.easybeans.resolver.api.EZBJNDIData

     * Adds a new JNDI name for the given message destination name.
     * @param messageDestinationName the given message destination name.
     * @param jndiData data for the JNDI Name entry
     */
    public void addMessageDestinationJNDIName(final String messageDestinationName, final EZBJNDIData jndiData) {
        EZBJNDIData existingData = this.messageDestinationMap.get(messageDestinationName);
        if (existingData != null) {
            logger.warn("JNDI Name for Message destination name ''{0}'' was already set with value ''{1}}'",
                    messageDestinationName, jndiData.getName());
        }
        this.messageDestinationMap.put(messageDestinationName, jndiData);
View Full Code Here

Examples of org.ow2.easybeans.resolver.api.EZBJNDIData

            // extract only the destination name
            newMessageDestinationName = messageDestinationName.split("#")[1];
        }

        // get metadata
        EZBJNDIData data = this.messageDestinationMap.get(newMessageDestinationName);

        // Found a value, add it
        if (data == null) {
            // Not found, check in the other containers of the EAR (if any)
            return getMessageDestinationJNDINameInEAR(newMessageDestinationName, askParent);
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.