org.jboss.weld.injection.spi.helpers
Class ForwardingJpaInjectionServices
java.lang.Object
org.jboss.weld.injection.spi.helpers.ForwardingJpaInjectionServices
- All Implemented Interfaces:
- Service, JpaInjectionServices
public abstract class ForwardingJpaInjectionServices
- extends java.lang.Object
- implements JpaInjectionServices
An implementation of 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.
- Author:
- Pete Muir
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.weld.bootstrap.api.Service |
cleanup |
ForwardingJpaInjectionServices
public ForwardingJpaInjectionServices()
delegate
protected abstract JpaInjectionServices delegate()
resolvePersistenceContext
public javax.persistence.EntityManager resolvePersistenceContext(InjectionPoint injectionPoint)
- Description copied from interface:
JpaInjectionServices
- Resolve the value for the given @PersistenceContext injection point
- Specified by:
resolvePersistenceContext in interface JpaInjectionServices
- Parameters:
injectionPoint - the injection point metadata
- Returns:
- an instance of the entity manager
resolvePersistenceUnit
public javax.persistence.EntityManagerFactory resolvePersistenceUnit(InjectionPoint injectionPoint)
- Description copied from interface:
JpaInjectionServices
- Resolve the value for the given @PersistenceUnit injection point
- Specified by:
resolvePersistenceUnit in interface JpaInjectionServices
- Parameters:
injectionPoint - the injection point metadata
- Returns:
- an instance of the entity manager
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2008-2009 Seam Framework. All Rights Reserved.