public abstract class ForwardingJpaInjectionServices extends java.lang.Object implements JpaInjectionServices
JpaInjectionServices which forwards all its method calls
to another JpaInjectionServices}. Subclasses should override one or more
methods to modify the behavior of the backing JpaInjectionServices as desired
per the decorator pattern.| Constructor and Description |
|---|
ForwardingJpaInjectionServices() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract JpaInjectionServices |
delegate() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
EntityManager |
resolvePersistenceContext(InjectionPoint injectionPoint)
Resolve the value for the given @PersistenceContext injection point
|
EntityManagerFactory |
resolvePersistenceUnit(InjectionPoint injectionPoint)
Resolve the value for the given @PersistenceUnit injection point
|
java.lang.String |
toString() |
protected abstract JpaInjectionServices delegate()
public EntityManager resolvePersistenceContext(InjectionPoint injectionPoint)
JpaInjectionServicesresolvePersistenceContext in interface JpaInjectionServicesinjectionPoint - the injection point metadatapublic EntityManagerFactory resolvePersistenceUnit(InjectionPoint injectionPoint)
JpaInjectionServicesresolvePersistenceUnit in interface JpaInjectionServicesinjectionPoint - the injection point metadatapublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2014 Seam Framework. All Rights Reserved.