/*
 * $Id: EndpointBuilder.vm 11571 2008-04-12 00:22:07Z dfeist $
 * --------------------------------------------------------------------------------------
 * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 *
 * The software in this package is published under the terms of the CPAL v1.0
 * license, a copy of which has been included with this distribution in the
 * LICENSE.txt file.
 */

package org.mule.transport.${TransportNameLower};

import org.mule.api.endpoint.EndpointException;
import org.mule.api.endpoint.InboundEndpoint;
import org.mule.api.endpoint.MalformedEndpointException;
import org.mule.api.endpoint.OutboundEndpoint;
import org.mule.api.lifecycle.InitialisationException;
import org.mule.endpoint.AbstractEndpointBuilder;

import java.net.URI;
import java.util.Properties;

/**
 * <code>${TransportName}EndpointBuilder</code> TODO Document
 */
public class ${TransportName}EndpointBuilder extends AbstractEndpointBuilder
{
    protected void setEndpoint(URI uri, Properties props) throws MalformedEndpointException
    {
        /* IMPLEMENTATION NOTE: This method should set the this.address
           variable to the endpoint value to be retruned when calling
           MuleEndpointURI.getAddress().  Mule uses this portion to pass to
           the underlying technology */

        // TODO extract the endpoint config from the uri

        throw new UnsupportedOperationException("setEndpoint");
    }

    protected InboundEndpoint doBuildInboundEndpoint() throws EndpointException, InitialisationException
    {
    	// TODO implement me
        throw new UnsupportedOperationException("doBuildInboundEndpoint");
    }

    protected OutboundEndpoint doBuildOutboundEndpoint() throws EndpointException, InitialisationException
    {
    	// TODO implement me
        throw new UnsupportedOperationException("doBuildInboundEndpoint");
    }

    protected ImmutableEndpoint doBuildResponseEndpoint() throws EndpointException, InitialisationException
    {
    	// TODO implement me
        throw new UnsupportedOperationException("doBuildResponseEndpoint");
    }
}
