Package org.jboss.as.server.deployment

Examples of org.jboss.as.server.deployment.AttachmentKey


        parse(descriptor, mapper, context);

        //we use this map to detect the presence of two different but functionally equivalent namespaces
        final Map<AttachmentKey<?>, QName> usedNamespaces = new HashMap<AttachmentKey<?>, QName>();
        for(Map.Entry<QName, Object> entry : context.getParseResults().entrySet()) {
            final AttachmentKey attachmentKey = namespaceAttachments.get(entry.getKey());
            if(usedNamespaces.containsKey(attachmentKey)) {
                ServerMessages.MESSAGES.equivilentNamespacesInJBossXml(entry.getKey(), usedNamespaces.get(attachmentKey));
            }
            usedNamespaces.put(attachmentKey, entry.getKey());
            deploymentUnit.putAttachment(attachmentKey, entry.getValue());
View Full Code Here

TOP

Related Classes of org.jboss.as.server.deployment.AttachmentKey

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.