org.apache.camel.component.ibatis
Class IBatisComponent

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultComponent
          extended by org.apache.camel.component.ibatis.IBatisComponent
All Implemented Interfaces:
Component, Service

public class IBatisComponent
extends DefaultComponent

An

Field Summary
static String DEFAULT_CONFIG_URI
           
 
Constructor Summary
IBatisComponent()
           
IBatisComponent(com.ibatis.sqlmap.client.SqlMapClient sqlMapClient)
           
 
Method Summary
protected  Endpoint createEndpoint(String uri, String remaining, Map parameters)
           
protected  com.ibatis.sqlmap.client.SqlMapClient createSqlMapClient()
           
 com.ibatis.sqlmap.client.SqlMapClient getSqlMapClient()
           
 Resource getSqlMapResource()
           
 void setSqlMapClient(com.ibatis.sqlmap.client.SqlMapClient sqlMapClient)
           
 void setSqlMapResource(Resource sqlMapResource)
           
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
convertTo, createEndpoint, createExecutorService, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExecutorService, lookup, lookup, mandatoryConvertTo, mandatoryLookup, mandatoryLookup, newInstance, setCamelContext, setExecutorService, setProperties, useIntrospectionOnEndpoint, validateURI
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONFIG_URI

public static final String DEFAULT_CONFIG_URI
See Also:
Constant Field Values
Constructor Detail

IBatisComponent

public IBatisComponent()

IBatisComponent

public IBatisComponent(com.ibatis.sqlmap.client.SqlMapClient sqlMapClient)
Method Detail

getSqlMapClient

public com.ibatis.sqlmap.client.SqlMapClient getSqlMapClient()
                                                      throws IOException
Throws:
IOException

setSqlMapClient

public void setSqlMapClient(com.ibatis.sqlmap.client.SqlMapClient sqlMapClient)

getSqlMapResource

public Resource getSqlMapResource()

setSqlMapResource

public void setSqlMapResource(Resource sqlMapResource)

createEndpoint

protected Endpoint createEndpoint(String uri,
                                  String remaining,
                                  Map parameters)
                           throws Exception
Specified by:
createEndpoint in class DefaultComponent
Throws:
Exception

createSqlMapClient

protected com.ibatis.sqlmap.client.SqlMapClient createSqlMapClient()
                                                            throws IOException
Throws:
IOException


Apache CAMEL