org.vraptor.plugin.jpa
Class EntityManagerInjector
java.lang.Object
org.vraptor.plugin.jpa.EntityManagerInjector
- All Implemented Interfaces:
- BeanConstructor
public class EntityManagerInjector
- extends Object
- implements BeanConstructor
Wraps the standard BeanConstructor injecting an EntityManager
at the construction time.
- Since:
- 2.3.2
- Author:
- Fabio Kung
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityManagerInjector
public EntityManagerInjector(BeanConstructor constructor,
org.vraptor.plugin.jpa.EntityManagerIntrospector introspector)
newInstance
public Object newInstance(LogicRequest request,
BeanProvider provider)
throws ComponentInstantiationException
- Description copied from interface:
BeanConstructor
- Instantiates this component.
- Specified by:
newInstance in interface BeanConstructor
- Parameters:
request - the request scope
- Returns:
- the new instance
- Throws:
ComponentInstantiationException - any error
Copyright © 2004-2008 VRaptor. All Rights Reserved.