org.apache.camel.component.jpa
Class JpaComponent
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultComponent<org.apache.camel.Exchange>
org.apache.camel.component.jpa.JpaComponent
- All Implemented Interfaces:
- org.apache.camel.Component<org.apache.camel.Exchange>, org.apache.camel.Service
public class JpaComponent
- extends org.apache.camel.impl.DefaultComponent<org.apache.camel.Exchange>
A JPA Component
- Version:
- $Revision: 563665 $
Methods inherited from class org.apache.camel.impl.DefaultComponent |
createEndpoint, createExecutorService, doStart, doStop, getCamelContext, getExecutorService, setCamelContext, setExecutorService |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getThreadName, isStarted, 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()
resolveComponent
public org.apache.camel.Component resolveComponent(org.apache.camel.CamelContext container,
String uri)
throws Exception
- Throws:
Exception
getEntityManagerFactory
public javax.persistence.EntityManagerFactory getEntityManagerFactory()
setEntityManagerFactory
public void setEntityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
createEndpoint
protected org.apache.camel.Endpoint<org.apache.camel.Exchange> createEndpoint(String uri,
String path,
Map options)
throws Exception
- Specified by:
createEndpoint
in class org.apache.camel.impl.DefaultComponent<org.apache.camel.Exchange>
- Throws:
Exception
Copyright © 2007 Apache Software Foundation. All Rights Reserved.