Class AbstractInjectingFactory<T extends org.hibernate.service.spi.ServiceRegistryAwareService>
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.AbstractInjectingFactory<T>
- All Implemented Interfaces:
- Serializable,- org.hibernate.service.spi.ServiceRegistryAwareService
- Direct Known Subclasses:
- InjectingPersisterFactory
public abstract class AbstractInjectingFactory<T extends org.hibernate.service.spi.ServiceRegistryAwareService>
extends Object
implements org.hibernate.service.spi.ServiceRegistryAwareService, Serializable
This abstract impl delegates object creation and then injects services into
 the instance if a suitable setter is found.
 The available services for injection are passed in the constructor.
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected BeanInfogetBeanInfo(Class<?> instanceClass) voidinjectServices(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistry) 
- 
Field Details- 
delegate
- 
services
 
- 
- 
Constructor Details- 
AbstractInjectingFactory
 
- 
- 
Method Details- 
getBeanInfo
- 
injectServicespublic void injectServices(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistry) - Specified by:
- injectServicesin interface- org.hibernate.service.spi.ServiceRegistryAwareService
 
 
-