org.jboss.ejb3.injection.pojo
Class PersistenceContextInjector

java.lang.Object
  extended by org.jboss.ejb3.injection.pojo.PersistenceContextInjector
All Implemented Interfaces:
PojoInjector

public class PersistenceContextInjector
extends Object
implements PojoInjector

Comment

Version:
$Revision: 1.2.2.3 $
Author:
Bill Burke

Constructor Summary
PersistenceContextInjector(Hashtable initialContextProperties)
           
 
Method Summary
protected  Object getEntityManager(boolean isTransient, Class emType, javax.persistence.PersistenceContextType type, ManagedEntityManagerFactory factory)
           
protected  ManagedEntityManagerFactory getManagedEntityManagerFactory(javax.persistence.PersistenceContext ref)
           
 void inject(Field f, java.lang.annotation.Annotation annotation, Object pojo)
           
 void inject(Method m, java.lang.annotation.Annotation annotation, Object pojo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceContextInjector

public PersistenceContextInjector(Hashtable initialContextProperties)
Method Detail

getEntityManager

protected Object getEntityManager(boolean isTransient,
                                  Class emType,
                                  javax.persistence.PersistenceContextType type,
                                  ManagedEntityManagerFactory factory)

getManagedEntityManagerFactory

protected ManagedEntityManagerFactory getManagedEntityManagerFactory(javax.persistence.PersistenceContext ref)
                                                              throws NamingException
Throws:
NamingException

inject

public void inject(Method m,
                   java.lang.annotation.Annotation annotation,
                   Object pojo)
Specified by:
inject in interface PojoInjector

inject

public void inject(Field f,
                   java.lang.annotation.Annotation annotation,
                   Object pojo)
Specified by:
inject in interface PojoInjector


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.