/* JFox, the OpenSource J2EE Application Server
 *
 * Distributable under GNU LGPL license by gun.org
 * more details please visit http://www.huihoo.org/jfox
 */

package org.jfox.jms.connector;

/**
 * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
 */

public class ConnectorHelper {
    /**
     * jms connector jndi name prefix
     */
    public static final String JMS_CONNECTOR_PREFIX = "jms/connector";

    public static String getConnectorJNDIName(Protocol protocol) {
        return JMS_CONNECTOR_PREFIX + "/" + protocol.getProtocol();
    }

    public static void main(String[] args) {

    }
}
