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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BeanInfo
getBeanInfo
(Class<?> instanceClass) void
injectServices
(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistry)
-
Field Details
-
delegate
-
services
-
-
Constructor Details
-
AbstractInjectingFactory
-
-
Method Details
-
getBeanInfo
-
injectServices
public void injectServices(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistry) - Specified by:
injectServices
in interfaceorg.hibernate.service.spi.ServiceRegistryAwareService
-