Class EntityInterceptorFactoryImpl
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.interceptor.EntityInterceptorFactoryImpl
- All Implemented Interfaces:
EntityInterceptorFactory
@Component
public class EntityInterceptorFactoryImpl
extends Object
implements EntityInterceptorFactory
Creates an
EntityInterceptor
for AbstractHibernateEntity
entities.
Combines all contributed interceptors with the inner interceptor of the entity.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInterceptor
(Object entity) create anEntityInterceptor
for the given entityvoid
setInterceptorContributions
(List<EntityInterceptorContribution> interceptorContributions)
-
Constructor Details
-
EntityInterceptorFactoryImpl
public EntityInterceptorFactoryImpl()
-
-
Method Details
-
createInterceptor
Description copied from interface:EntityInterceptorFactory
create anEntityInterceptor
for the given entity- Specified by:
createInterceptor
in interfaceEntityInterceptorFactory
-
setInterceptorContributions
@Autowired public void setInterceptorContributions(List<EntityInterceptorContribution> interceptorContributions)
-