org.apache.camel.component.jpa
Class JpaComponent
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultComponent<Exchange>
org.apache.camel.component.jpa.JpaComponent
- All Implemented Interfaces:
- Component<Exchange>, Service
public class JpaComponent
- extends DefaultComponent<Exchange>
A JPA Component
- Version:
- $Revision: 769677 $
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 |
JpaComponent
public JpaComponent()
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