Package com.sun.enterprise.deployment

Examples of com.sun.enterprise.deployment.MessageDestinationDescriptor


        if ( set.isEmpty() ){
            return;
        }
        Iterator iterator = set.iterator();
       
        MessageDestinationDescriptor msgDrd = null;
        MessageDestinationDecorator decorator;
        while(iterator.hasNext()){
            msgDrd = (MessageDestinationDescriptor)iterator.next();
            decorator = new MessageDestinationDecorator(msgDrd);
           
View Full Code Here


        if ( (msgDestinations == null) || !msgDestinations.hasNext() )
            return;
       
        MessageDestinationNode subNode = new MessageDestinationNode();
        for (;msgDestinations.hasNext();) {
            MessageDestinationDescriptor next =
                (MessageDestinationDescriptor) msgDestinations.next();
            subNode.writeDescriptor(parentNode,
                                    TagNames.MESSAGE_DESTINATION, next);
        }    
    }
View Full Code Here

        } else if (msgDestReferencer.ownedByMessageDestinationRef() &&
            msgDestReferencer.getMessageDestinationRefOwner(
            ).getJndiName() != null) {
            return;
        } else {
            MessageDestinationDescriptor msgDest =
                msgDestReferencer.resolveLinkName();
            if( msgDest == null ) {
                String linkName =
                    msgDestReferencer.getMessageDestinationLinkName();
                DOLUtils.getDefaultLogger().log(Level.WARNING, "enterprise.deployment.backend.invalidDescriptorMappingFailure",
View Full Code Here

        if ( set.isEmpty() ){
            return;
        }
        Iterator iterator = set.iterator();
       
        MessageDestinationDescriptor msgDrd = null;
        MessageDestinationDecorator decorator;
        while(iterator.hasNext()){
            msgDrd = (MessageDestinationDescriptor)iterator.next();
            decorator = new MessageDestinationDecorator(msgDrd);
           
View Full Code Here

    public void updateMDBRuntimeInfo(EjbMessageBeanDescriptor descriptor_,
                                     BeanPoolDescriptor poolDescriptor) throws ConnectorRuntimeException{

        String jndiName = descriptor_.getJndiName();
        if (jndiName == null || "".equals(jndiName)) {
          MessageDestinationDescriptor destDescriptor = descriptor_.getMessageDestination();
          if (destDescriptor != null)
            jndiName = destDescriptor.getJndiName();
        }

        //handling of MDB 1.3 runtime deployment descriptor
        //if no RA-mid is specified, assume it is a 1.3 DD
        if (jndiName == null || "".equals(jndiName)) { //something's wrong in DD
View Full Code Here

    public void updateMDBRuntimeInfo(EjbMessageBeanDescriptor descriptor_,
                                     BeanPoolDescriptor poolDescriptor) throws ConnectorRuntimeException{

        String jndiName = descriptor_.getJndiName();
        if (jndiName == null || "".equals(jndiName)) {
          MessageDestinationDescriptor destDescriptor = descriptor_.getMessageDestination();
          if (destDescriptor != null)
            jndiName = destDescriptor.getJndiName();
        }

        //handling of MDB 1.3 runtime deployment descriptor
        //if no RA-mid is specified, assume it is a 1.3 DD
        if (jndiName == null || "".equals(jndiName)) { //something's wrong in DD
View Full Code Here

    public void updateMDBRuntimeInfo(EjbMessageBeanDescriptor descriptor_,
                                     BeanPoolDescriptor poolDescriptor) throws ConnectorRuntimeException{

        String jndiName = descriptor_.getJndiName();
        if (jndiName == null || "".equals(jndiName)) {
          MessageDestinationDescriptor destDescriptor = descriptor_.getMessageDestination();
          if (destDescriptor != null)
            jndiName = destDescriptor.getJndiName();
        }

        //handling of MDB 1.3 runtime deployment descriptor
        //if no RA-mid is specified, assume it is a 1.3 DD
        if (jndiName == null || "".equals(jndiName)) { //something's wrong in DD
View Full Code Here

        } else if (msgDestReferencer.ownedByMessageDestinationRef() &&
            msgDestReferencer.getMessageDestinationRefOwner(
            ).getJndiName() != null) {
            return;
        } else {
            MessageDestinationDescriptor msgDest =
                msgDestReferencer.resolveLinkName();
            if( msgDest == null ) {
                String linkName =
                    msgDestReferencer.getMessageDestinationLinkName();
                DOLUtils.getDefaultLogger().log(Level.WARNING, DOLUtils.INVALID_DESC_MAPPING,
                    new Object[] {"message-destination", linkName});
            } else {
                if (msgDestReferencer instanceof MessageDestinationReferenceDescriptor) {
                    ((MessageDestinationReferenceDescriptor)msgDestReferencer).setJndiName(msgDest.getJndiName());
                }
            }                                                
        }
    }
View Full Code Here

    public void updateMDBRuntimeInfo(EjbMessageBeanDescriptor descriptor_,
                                     BeanPoolDescriptor poolDescriptor) throws ConnectorRuntimeException{

        String jndiName = descriptor_.getJndiName();
        if (jndiName == null || "".equals(jndiName)) {
          MessageDestinationDescriptor destDescriptor = descriptor_.getMessageDestination();
          if (destDescriptor != null)
            jndiName = destDescriptor.getJndiName();
        }

        //handling of MDB 1.3 runtime deployment descriptor
        //if no RA-mid is specified, assume it is a 1.3 DD
        if (jndiName == null || "".equals(jndiName)) { //something's wrong in DD
View Full Code Here

        } else if (msgDestReferencer.ownedByMessageDestinationRef() &&
            msgDestReferencer.getMessageDestinationRefOwner(
            ).getJndiName() != null) {
            return;
        } else {
            MessageDestinationDescriptor msgDest =
                msgDestReferencer.resolveLinkName();
            if( msgDest == null ) {
                String linkName =
                    msgDestReferencer.getMessageDestinationLinkName();
                DOLUtils.getDefaultLogger().log(Level.WARNING, "enterprise.deployment.backend.invalidDescriptorMappingFailure",
                    new Object[] {"message-destination", linkName});
            } else {
                if (msgDestReferencer instanceof MessageDestinationReferenceDescriptor) {
                    ((MessageDestinationReferenceDescriptor)msgDestReferencer).setJndiName(msgDest.getJndiName());
                }
            }                                                
        }
    }   
View Full Code Here

TOP

Related Classes of com.sun.enterprise.deployment.MessageDestinationDescriptor

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.