|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webbeans.persistence.spi.helpers.ForwardingJpaServices
public abstract class ForwardingJpaServices
An implementation of JpaServices which forwards all its method calls
to another JpaServices}. Subclasses should override one or more
methods to modify the behavior of the backing JpaServices as desired
per the decorator pattern.
| Constructor Summary | |
|---|---|
ForwardingJpaServices()
|
|
| Method Summary | |
|---|---|
protected abstract JpaServices |
delegate()
|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
javax.persistence.EntityManager |
resolvePersistenceContext(InjectionPoint injectionPoint)
Resolve the value for the given @PersistenceContext injection point |
javax.persistence.EntityManager |
resolvePersistenceContext(java.lang.String unitName)
Resolve a persistence context for a given persistence unit name |
javax.persistence.EntityManagerFactory |
resolvePersistenceUnit(java.lang.String unitName)
Resolve a persistence unit for a given persistence unit name |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForwardingJpaServices()
| Method Detail |
|---|
protected abstract JpaServices delegate()
public javax.persistence.EntityManager resolvePersistenceContext(InjectionPoint injectionPoint)
JpaServices
resolvePersistenceContext in interface JpaServicesinjectionPoint - the injection point metadata
public javax.persistence.EntityManager resolvePersistenceContext(java.lang.String unitName)
JpaServices
resolvePersistenceContext in interface JpaServicesunitName - the unit name
public javax.persistence.EntityManagerFactory resolvePersistenceUnit(java.lang.String unitName)
JpaServices
resolvePersistenceUnit in interface JpaServicesunitName - the unit name
public 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.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||