Interface ActivationContext
public interface ActivationContext
Defines the context needed to call the
TypeSafeActivator.- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionAccess the mapping metadataAccess the ServiceRegistry specific to the SessionFactory being built.Access the SessionFactory being built to trigger this BV activationAccess the requested validation mode(s).
-
Method Details
-
getValidationModes
Set<ValidationMode> getValidationModes()Access the requested validation mode(s).- Returns:
- The requested validation modes
-
getMetadata
Metadata getMetadata()Access the mapping metadata- Returns:
- The mapping metadata
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()Access the SessionFactory being built to trigger this BV activation- Returns:
- The SessionFactory being built
-
getServiceRegistry
SessionFactoryServiceRegistry getServiceRegistry()Access the ServiceRegistry specific to the SessionFactory being built.- Returns:
- The SessionFactoryServiceRegistry
-