public interface ActivationContext
TypeSafeActivator
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration()
Access the Configuration
|
SessionFactoryServiceRegistry |
getServiceRegistry()
Access the ServiceRegistry specific to the SessionFactory being built.
|
SessionFactoryImplementor |
getSessionFactory()
Access the SessionFactory being built to trigger this BV activation
|
Set<ValidationMode> |
getValidationModes()
Access the requested validation mode(s).
|
Set<ValidationMode> getValidationModes()
IMPL NOTE : the legacy code allowed multiple mode values to be specified, so that is why it is multi-valued here. However, I cannot find any good reasoning why it was defined that way and even JPA states it should be a single value. For 4.1 (in maintenance) I think it makes the most sense to not mess with it. Discuss for 4.2 and beyond.
Configuration getConfiguration()
SessionFactoryImplementor getSessionFactory()
SessionFactoryServiceRegistry getServiceRegistry()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.