org.jboss.ejb3.injection.pojo
Class PersistenceUnitInjector

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

public class PersistenceUnitInjector
extends Object
implements PojoInjector

Comment

Version:
$Revision: 1.2.2.3 $
Author:
Bill Burke

Constructor Summary
PersistenceUnitInjector(Hashtable initialContextProperties)
           
 
Method Summary
 Object getEntityManagerFactory(javax.persistence.PersistenceUnit ref, Class type)
           
 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

PersistenceUnitInjector

public PersistenceUnitInjector(Hashtable initialContextProperties)
Method Detail

getEntityManagerFactory

public Object getEntityManagerFactory(javax.persistence.PersistenceUnit ref,
                                      Class type)
                               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.