org.apache.camel.component.jpa
Class JpaEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint<E>
org.apache.camel.impl.ScheduledPollEndpoint<org.apache.camel.Exchange>
org.apache.camel.component.jpa.JpaEndpoint
- All Implemented Interfaces:
- org.apache.camel.Endpoint<org.apache.camel.Exchange>
public class JpaEndpoint
- extends org.apache.camel.impl.ScheduledPollEndpoint<org.apache.camel.Exchange>
- Version:
- $Revision: 541335 $
Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint |
configureConsumer, getConsumerProperties, setConsumerProperties |
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
convertTo, createExchange, createExecutorService, createPollingConsumer, equals, getComponent, getContext, getEndpointUri, getExchangeType, getExecutorService, hashCode, setExecutorService, toExchangeType, toString |
JpaEndpoint
public JpaEndpoint(String uri,
JpaComponent component)
createExchange
public org.apache.camel.Exchange createExchange()
createProducer
public org.apache.camel.Producer<org.apache.camel.Exchange> createProducer()
throws Exception
- Throws:
Exception
createConsumer
public org.apache.camel.Consumer<org.apache.camel.Exchange> createConsumer(org.apache.camel.Processor processor)
throws Exception
- Throws:
Exception
configureProperties
public void configureProperties(Map options)
- Overrides:
configureProperties
in class org.apache.camel.impl.ScheduledPollEndpoint<org.apache.camel.Exchange>
isSingleton
public boolean isSingleton()
getTemplate
public org.springframework.orm.jpa.JpaTemplate getTemplate()
setTemplate
public void setTemplate(org.springframework.orm.jpa.JpaTemplate template)
getProducerExpression
public org.apache.camel.Expression<org.apache.camel.Exchange> getProducerExpression()
setProducerExpression
public void setProducerExpression(org.apache.camel.Expression<org.apache.camel.Exchange> producerExpression)
getMaximumResults
public int getMaximumResults()
setMaximumResults
public void setMaximumResults(int maximumResults)
getEntityType
public Class<?> getEntityType()
setEntityType
public void setEntityType(Class<?> entityType)
getEntityManagerFactory
public javax.persistence.EntityManagerFactory getEntityManagerFactory()
setEntityManagerFactory
public void setEntityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
getEntityManagerProperties
public Map getEntityManagerProperties()
setEntityManagerProperties
public void setEntityManagerProperties(Map entityManagerProperties)
getPersistenceUnit
public String getPersistenceUnit()
setPersistenceUnit
public void setPersistenceUnit(String persistenceUnit)
createTemplate
protected org.springframework.orm.jpa.JpaTemplate createTemplate()
createEntityManagerFactory
protected javax.persistence.EntityManagerFactory createEntityManagerFactory()
createEntityManager
protected javax.persistence.EntityManager createEntityManager()
createTransactionStrategy
protected TransactionStrategy createTransactionStrategy()
createProducerExpression
protected org.apache.camel.Expression<org.apache.camel.Exchange> createProducerExpression()
Copyright © 2007 Apache Software Foundation. All Rights Reserved.