org.ow2.jonas.cdi.weld.internal.services
Class JOnASJpaInjectionServices

java.lang.Object
  extended by org.ow2.jonas.cdi.weld.internal.services.JOnASJpaInjectionServices
All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Service, org.jboss.weld.injection.spi.JpaInjectionServices

public class JOnASJpaInjectionServices
extends Object
implements org.jboss.weld.injection.spi.JpaInjectionServices

Provides JPA related injection services

Author:
Loic Albertin

Constructor Summary
JOnASJpaInjectionServices(org.ow2.easybeans.persistence.api.EZBPersistenceUnitManager persistenceUnitManager)
           
 
Method Summary
 void cleanup()
           
 EntityManager resolvePersistenceContext(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
           
 EntityManagerFactory resolvePersistenceUnit(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JOnASJpaInjectionServices

public JOnASJpaInjectionServices(org.ow2.easybeans.persistence.api.EZBPersistenceUnitManager persistenceUnitManager)
Method Detail

resolvePersistenceContext

public EntityManager resolvePersistenceContext(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Specified by:
resolvePersistenceContext in interface org.jboss.weld.injection.spi.JpaInjectionServices

resolvePersistenceUnit

public EntityManagerFactory resolvePersistenceUnit(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Specified by:
resolvePersistenceUnit in interface org.jboss.weld.injection.spi.JpaInjectionServices

cleanup

public void cleanup()
Specified by:
cleanup in interface org.jboss.weld.bootstrap.api.Service


Copyright © 2012 OW2 Consortium. All Rights Reserved.