org.apache.camel.component.jpa
Class JpaComponent

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

public class JpaComponent
extends DefaultComponent

A JPA Component

Version:
$Revision: 769673 $

Constructor Summary
JpaComponent()
           
 
Method Summary
protected  Endpoint createEndpoint(String uri, String path, Map options)
           
 EntityManagerFactory getEntityManagerFactory()
           
 org.springframework.transaction.PlatformTransactionManager getTransactionManager()
           
 void setEntityManagerFactory(EntityManagerFactory entityManagerFactory)
           
 void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
           
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
convertTo, createEndpoint, createScheduledExecutorService, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExecutorService, getScheduledExecutorService, ifStartsWithReturnRemainder, lookup, lookup, mandatoryConvertTo, mandatoryLookup, mandatoryLookup, newInstance, setCamelContext, setExecutorService, setProperties, useIntrospectionOnEndpoint, validateParameters, validateURI
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaComponent

public JpaComponent()
Method Detail

getEntityManagerFactory

public EntityManagerFactory getEntityManagerFactory()

setEntityManagerFactory

public void setEntityManagerFactory(EntityManagerFactory entityManagerFactory)

getTransactionManager

public org.springframework.transaction.PlatformTransactionManager getTransactionManager()

setTransactionManager

public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)

createEndpoint

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


Apache CAMEL