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 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 interface org.jboss.weld.bootstrap.api.Service |
cleanup |
ForwardingJpaInjectionServices
public ForwardingJpaInjectionServices()
delegate
protected abstract JpaInjectionServices delegate()
resolvePersistenceContext
public javax.persistence.EntityManager resolvePersistenceContext(javax.enterprise.inject.spi.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(javax.enterprise.inject.spi.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 String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2013 Seam Framework. All Rights Reserved.