org.apache.camel.component.mina
Class MinaEndpointResolver

java.lang.Object
  extended by org.apache.camel.component.mina.MinaEndpointResolver
All Implemented Interfaces:
org.apache.camel.EndpointResolver<MinaExchange>

public class MinaEndpointResolver
extends Object
implements org.apache.camel.EndpointResolver<MinaExchange>

An implementation of EndpointResolver that creates MinaEndpoint objects. The syntax for a MINA URI looks like:

mina:

Version:
$Revision:520964 $

Field Summary
static String DEFAULT_COMPONENT_NAME
           
 
Constructor Summary
MinaEndpointResolver()
           
 
Method Summary
 org.apache.camel.Component resolveComponent(org.apache.camel.CamelContext container, String uri)
          Finds the MinaComponent specified by the uri.
 MinaEndpoint resolveEndpoint(org.apache.camel.CamelContext container, String uri)
          Finds the MinaEndpoint specified by the uri.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_COMPONENT_NAME

public static final String DEFAULT_COMPONENT_NAME
Constructor Detail

MinaEndpointResolver

public MinaEndpointResolver()
Method Detail

resolveComponent

public org.apache.camel.Component resolveComponent(org.apache.camel.CamelContext container,
                                                   String uri)
Finds the MinaComponent specified by the uri. If the MinaComponent object do not exist, it will be created.

Specified by:
resolveComponent in interface org.apache.camel.EndpointResolver<MinaExchange>

resolveEndpoint

public MinaEndpoint resolveEndpoint(org.apache.camel.CamelContext container,
                                    String uri)
                             throws IOException,
                                    URISyntaxException
Finds the MinaEndpoint specified by the uri. If the MinaEndpoint or it's associated QueueComponent object do not exist, they will be created.

Specified by:
resolveEndpoint in interface org.apache.camel.EndpointResolver<MinaExchange>
Throws:
IOException
URISyntaxException


Copyright © 2007 Apache Software Foundation. All Rights Reserved.