org.apache.camel.component.jpa
Class JpaComponent

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

public class JpaComponent
extends DefaultComponent<Exchange>

A JPA Component

Version:
$Revision: 769677 $

Constructor Summary
JpaComponent()
           
 
Method Summary
protected  Endpoint<Exchange> createEndpoint(String uri, String path, Map options)
           
 EntityManagerFactory getEntityManagerFactory()
           
 PlatformTransactionManager getTransactionManager()
           
 void setEntityManagerFactory(EntityManagerFactory entityManagerFactory)
           
 void setTransactionManager(PlatformTransactionManager transactionManager)
           
 
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
 

Constructor Detail

JpaComponent

public JpaComponent()
Method Detail

getEntityManagerFactory

public EntityManagerFactory getEntityManagerFactory()

setEntityManagerFactory

public void setEntityManagerFactory(EntityManagerFactory entityManagerFactory)

getTransactionManager

public PlatformTransactionManager getTransactionManager()

setTransactionManager

public void setTransactionManager(PlatformTransactionManager transactionManager)

createEndpoint

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


Apache CAMEL