Java 类org.apache.catalina.deploy.MessageDestination 实例源码

项目:tomcat7    文件:StandardContext.java   
/**
 * Add a message destination for this web application.
 *
 * @param md New message destination
 */
public void addMessageDestination(MessageDestination md) {

    synchronized (messageDestinations) {
        messageDestinations.put(md.getName(), md);
    }
    fireContainerEvent("addMessageDestination", md.getName());

}
项目:tomcat7    文件:StandardContext.java   
/**
 * Return the message destination with the specified name, if any;
 * otherwise, return <code>null</code>.
 *
 * @param name Name of the desired message destination
 */
public MessageDestination findMessageDestination(String name) {

    synchronized (messageDestinations) {
        return (messageDestinations.get(name));
    }

}
项目:tomcat7    文件:StandardContext.java   
/**
 * Return the set of defined message destinations for this web
 * application.  If none have been defined, a zero-length array
 * is returned.
 */
public MessageDestination[] findMessageDestinations() {

    synchronized (messageDestinations) {
        MessageDestination results[] =
            new MessageDestination[messageDestinations.size()];
        return (messageDestinations.values().toArray(results));
    }

}
项目:lams    文件:StandardContext.java   
/**
 * Add a message destination for this web application.
 *
 * @param md New message destination
 */
public void addMessageDestination(MessageDestination md) {

    synchronized (messageDestinations) {
        messageDestinations.put(md.getName(), md);
    }
    fireContainerEvent("addMessageDestination", md.getName());

}
项目:lams    文件:StandardContext.java   
/**
 * Return the message destination with the specified name, if any;
 * otherwise, return <code>null</code>.
 *
 * @param name Name of the desired message destination
 */
public MessageDestination findMessageDestination(String name) {

    synchronized (messageDestinations) {
        return ((MessageDestination) messageDestinations.get(name));
    }

}
项目:lams    文件:StandardContext.java   
/**
 * Return the set of defined message destinations for this web
 * application.  If none have been defined, a zero-length array
 * is returned.
 */
public MessageDestination[] findMessageDestinations() {

    synchronized (messageDestinations) {
        MessageDestination results[] =
            new MessageDestination[messageDestinations.size()];
        return ((MessageDestination[])
                messageDestinations.values().toArray(results));
    }

}
项目:apache-tomcat-7.0.73-with-comment    文件:StandardContext.java   
/**
 * Add a message destination for this web application.
 *
 * @param md New message destination
 */
public void addMessageDestination(MessageDestination md) {

    synchronized (messageDestinations) {
        messageDestinations.put(md.getName(), md);
    }
    fireContainerEvent("addMessageDestination", md.getName());

}
项目:apache-tomcat-7.0.73-with-comment    文件:StandardContext.java   
/**
 * Return the message destination with the specified name, if any;
 * otherwise, return <code>null</code>.
 *
 * @param name Name of the desired message destination
 */
public MessageDestination findMessageDestination(String name) {

    synchronized (messageDestinations) {
        return (messageDestinations.get(name));
    }

}
项目:apache-tomcat-7.0.73-with-comment    文件:StandardContext.java   
/**
 * Return the set of defined message destinations for this web
 * application.  If none have been defined, a zero-length array
 * is returned.
 */
public MessageDestination[] findMessageDestinations() {

    synchronized (messageDestinations) {
        MessageDestination results[] =
            new MessageDestination[messageDestinations.size()];
        return (messageDestinations.values().toArray(results));
    }

}
项目:lazycat    文件:StandardContext.java   
/**
 * Add a message destination for this web application.
 *
 * @param md
 *            New message destination
 */
public void addMessageDestination(MessageDestination md) {

    synchronized (messageDestinations) {
        messageDestinations.put(md.getName(), md);
    }
    fireContainerEvent("addMessageDestination", md.getName());

}
项目:lazycat    文件:StandardContext.java   
/**
 * Return the message destination with the specified name, if any;
 * otherwise, return <code>null</code>.
 *
 * @param name
 *            Name of the desired message destination
 */
public MessageDestination findMessageDestination(String name) {

    synchronized (messageDestinations) {
        return (messageDestinations.get(name));
    }

}
项目:lazycat    文件:StandardContext.java   
/**
 * Return the set of defined message destinations for this web application.
 * If none have been defined, a zero-length array is returned.
 */
public MessageDestination[] findMessageDestinations() {

    synchronized (messageDestinations) {
        MessageDestination results[] = new MessageDestination[messageDestinations.size()];
        return (messageDestinations.values().toArray(results));
    }

}
项目:class-guard    文件:StandardContext.java   
/**
 * Add a message destination for this web application.
 *
 * @param md New message destination
 */
public void addMessageDestination(MessageDestination md) {

    synchronized (messageDestinations) {
        messageDestinations.put(md.getName(), md);
    }
    fireContainerEvent("addMessageDestination", md.getName());

}
项目:class-guard    文件:StandardContext.java   
/**
 * Return the message destination with the specified name, if any;
 * otherwise, return <code>null</code>.
 *
 * @param name Name of the desired message destination
 */
public MessageDestination findMessageDestination(String name) {

    synchronized (messageDestinations) {
        return (messageDestinations.get(name));
    }

}
项目:class-guard    文件:StandardContext.java   
/**
 * Return the set of defined message destinations for this web
 * application.  If none have been defined, a zero-length array
 * is returned.
 */
public MessageDestination[] findMessageDestinations() {

    synchronized (messageDestinations) {
        MessageDestination results[] =
            new MessageDestination[messageDestinations.size()];
        return (messageDestinations.values().toArray(results));
    }

}
项目:apache-tomcat-7.0.57    文件:StandardContext.java   
/**
 * Add a message destination for this web application.
 *
 * @param md New message destination
 */
public void addMessageDestination(MessageDestination md) {

    synchronized (messageDestinations) {
        messageDestinations.put(md.getName(), md);
    }
    fireContainerEvent("addMessageDestination", md.getName());

}
项目:apache-tomcat-7.0.57    文件:StandardContext.java   
/**
 * Return the message destination with the specified name, if any;
 * otherwise, return <code>null</code>.
 *
 * @param name Name of the desired message destination
 */
public MessageDestination findMessageDestination(String name) {

    synchronized (messageDestinations) {
        return (messageDestinations.get(name));
    }

}
项目:apache-tomcat-7.0.57    文件:StandardContext.java   
/**
 * Return the set of defined message destinations for this web
 * application.  If none have been defined, a zero-length array
 * is returned.
 */
public MessageDestination[] findMessageDestinations() {

    synchronized (messageDestinations) {
        MessageDestination results[] =
            new MessageDestination[messageDestinations.size()];
        return (messageDestinations.values().toArray(results));
    }

}
项目:apache-tomcat-7.0.57    文件:StandardContext.java   
/**
 * Add a message destination for this web application.
 *
 * @param md New message destination
 */
public void addMessageDestination(MessageDestination md) {

    synchronized (messageDestinations) {
        messageDestinations.put(md.getName(), md);
    }
    fireContainerEvent("addMessageDestination", md.getName());

}
项目:apache-tomcat-7.0.57    文件:StandardContext.java   
/**
 * Return the message destination with the specified name, if any;
 * otherwise, return <code>null</code>.
 *
 * @param name Name of the desired message destination
 */
public MessageDestination findMessageDestination(String name) {

    synchronized (messageDestinations) {
        return (messageDestinations.get(name));
    }

}
项目:apache-tomcat-7.0.57    文件:StandardContext.java   
/**
 * Return the set of defined message destinations for this web
 * application.  If none have been defined, a zero-length array
 * is returned.
 */
public MessageDestination[] findMessageDestinations() {

    synchronized (messageDestinations) {
        MessageDestination results[] =
            new MessageDestination[messageDestinations.size()];
        return (messageDestinations.values().toArray(results));
    }

}
项目:WBSAirback    文件:StandardContext.java   
/**
 * Add a message destination for this web application.
 *
 * @param md New message destination
 */
public void addMessageDestination(MessageDestination md) {

    synchronized (messageDestinations) {
        messageDestinations.put(md.getName(), md);
    }
    fireContainerEvent("addMessageDestination", md.getName());

}
项目:WBSAirback    文件:StandardContext.java   
/**
 * Return the message destination with the specified name, if any;
 * otherwise, return <code>null</code>.
 *
 * @param name Name of the desired message destination
 */
public MessageDestination findMessageDestination(String name) {

    synchronized (messageDestinations) {
        return (messageDestinations.get(name));
    }

}
项目:WBSAirback    文件:StandardContext.java   
/**
 * Return the set of defined message destinations for this web
 * application.  If none have been defined, a zero-length array
 * is returned.
 */
public MessageDestination[] findMessageDestinations() {

    synchronized (messageDestinations) {
        MessageDestination results[] =
            new MessageDestination[messageDestinations.size()];
        return (messageDestinations.values().toArray(results));
    }

}