org.apache.camel.component.ibatis
Class IBatisEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint<E>
      extended by org.apache.camel.impl.ScheduledPollEndpoint<E>
          extended by org.apache.camel.impl.DefaultPollingEndpoint
              extended by org.apache.camel.component.ibatis.IBatisEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint

public class IBatisEndpoint
extends DefaultPollingEndpoint

An

Constructor Summary
IBatisEndpoint(String endpointUri, IBatisComponent component, String entityName)
           
IBatisEndpoint(String endpointUri, String entityName)
           
 
Method Summary
 PollingConsumer createPollingConsumer()
           
 Producer createProducer()
           
 IBatisComponent getComponent()
           
 String getEntityName()
           
 com.ibatis.sqlmap.client.SqlMapClient getSqlClient()
          Returns the iBatis SQL client
 StatementType getStatementType()
           
 boolean isSingleton()
           
 void query(Message message)
           
 void setStatementType(StatementType statementType)
           
 
Methods inherited from class org.apache.camel.impl.DefaultPollingEndpoint
createConsumer
 
Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
convertTo, createEndpointUri, createExchange, createExchange, createExchange, createExecutorService, equals, getCamelContext, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, setContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IBatisEndpoint

public IBatisEndpoint(String endpointUri,
                      IBatisComponent component,
                      String entityName)

IBatisEndpoint

public IBatisEndpoint(String endpointUri,
                      String entityName)
Method Detail

getComponent

public IBatisComponent getComponent()
Overrides:
getComponent in class DefaultEndpoint

isSingleton

public boolean isSingleton()

createProducer

public Producer createProducer()
                        throws Exception
Throws:
Exception

createPollingConsumer

public PollingConsumer createPollingConsumer()
                                      throws Exception
Specified by:
createPollingConsumer in interface Endpoint
Overrides:
createPollingConsumer in class DefaultEndpoint
Throws:
Exception

getSqlClient

public com.ibatis.sqlmap.client.SqlMapClient getSqlClient()
                                                   throws IOException
Returns the iBatis SQL client

Throws:
IOException

getEntityName

public String getEntityName()

query

public void query(Message message)
           throws IOException,
                  SQLException
Throws:
IOException
SQLException

getStatementType

public StatementType getStatementType()

setStatementType

public void setStatementType(StatementType statementType)


Apache CAMEL