Top Description Fields Constructors Methods
org.hibernate.secure.spi

public Class JaccIntegrator

extends Object
implements ServiceContributingIntegrator
Class Inheritance
All Implemented Interfaces
org.hibernate.integrator.spi.ServiceContributingIntegrator, org.hibernate.integrator.spi.Integrator
Annotations
@Deprecated
Imports
java.util.Map, org.hibernate.boot.Metadata, org.hibernate.boot.registry.StandardServiceRegistryBuilder, org.hibernate.cfg.AvailableSettings, org.hibernate.engine.config.spi.ConfigurationService, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.event.service.spi.DuplicationStrategy, .EventListenerRegistry, org.hibernate.event.spi.EventType, org.hibernate.integrator.spi.ServiceContributingIntegrator, org.hibernate.internal.log.DeprecationLogger, org.hibernate.secure.internal.DisabledJaccServiceImpl, .JaccPreDeleteEventListener, .JaccPreInsertEventListener, .JaccPreLoadEventListener, .JaccPreUpdateEventListener, .JaccSecurityListener, .StandardJaccServiceImpl, org.hibernate.service.spi.SessionFactoryServiceRegistry, org.jboss.logging.Logger

Deprecated

Support for JACC will be removed in 6.0

Integrator for setting up JACC integration
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final DuplicationStrategy
private static final Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
disintegrate(SessionFactoryImplementor
The session factory being closed.
sessionFactory
,
SessionFactoryServiceRegistry
That session factory's service registry
serviceRegistry
)

Implements org.hibernate.integrator.spi.Integrator.disintegrate.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Tongue-in-cheek name for a shutdown callback.
private void
doIntegration(Map<K, V> properties, JaccPermissionDeclarations permissionDeclarations, SessionFactoryServiceRegistry serviceRegistry)

Deprecated as a consequence of JaccPermissionDeclarations being deprecated.
public void
integrate(Metadata
The "compiled" representation of the mapping information
metadata
,
SessionFactoryImplementor
The session factory being created
sessionFactory
,
SessionFactoryServiceRegistry
The session factory's service registry
serviceRegistry
)

Implements org.hibernate.integrator.spi.Integrator.integrate.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Perform integration.
public void
prepareServices(StandardServiceRegistryBuilder
The build to prepare.
serviceRegistryBuilder
)

Implements org.hibernate.integrator.spi.ServiceContributingIntegrator.prepareServices.

Allow the integrator to alter the builder of org.hibernate.service.ServiceRegistry, presumably to register services into it.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DUPLICATION_STRATEGYback to summary
private static final DuplicationStrategy DUPLICATION_STRATEGY
logback to summary
private static final Logger log

Constructor Detail

JaccIntegratorback to summary
public JaccIntegrator()

Method Detail

disintegrateback to summary
public void disintegrate(SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)

Implements org.hibernate.integrator.spi.Integrator.disintegrate.

Doc from org.hibernate.integrator.spi.Integrator.disintegrate.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Tongue-in-cheek name for a shutdown callback.

Parameters
sessionFactory:SessionFactoryImplementor

The session factory being closed.

serviceRegistry:SessionFactoryServiceRegistry

That session factory's service registry

Annotations
@Override
doIntegrationback to summary
private void doIntegration(Map<K, V> properties, JaccPermissionDeclarations permissionDeclarations, SessionFactoryServiceRegistry serviceRegistry)

Deprecated

as a consequence of JaccPermissionDeclarations being deprecated. See corresponding docs for further information.

integrateback to summary
public void integrate(Metadata metadata, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)

Implements org.hibernate.integrator.spi.Integrator.integrate.

Doc from org.hibernate.integrator.spi.Integrator.integrate.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Perform integration.

Parameters
metadata:Metadata

The "compiled" representation of the mapping information

sessionFactory:SessionFactoryImplementor

The session factory being created

serviceRegistry:SessionFactoryServiceRegistry

The session factory's service registry

Annotations
@Override
prepareServicesback to summary
public void prepareServices(StandardServiceRegistryBuilder serviceRegistryBuilder)

Implements org.hibernate.integrator.spi.ServiceContributingIntegrator.prepareServices.

Doc from org.hibernate.integrator.spi.ServiceContributingIntegrator.prepareServices.

Allow the integrator to alter the builder of org.hibernate.service.ServiceRegistry, presumably to register services into it.

Parameters
serviceRegistryBuilder:StandardServiceRegistryBuilder

The build to prepare.

Annotations
@Override