Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTemplate.EntityInterceptorObjectName Property

Set the object name of a Hibernate entity interceptor that allows to inspect and change property values before writing to and reading from the database.

[Visual Basic]
Public Overrides WriteOnly Property EntityInterceptorObjectName() As String
   Public Set
   End Set
End Property
[C#]
public override string EntityInterceptorObjectName { public set; }

Property Value

The name of the entity interceptor in the object factory/application context.

Remarks

Will get applied to any new Session created by this transaction manager.

Requires the object factory to be known, to be able to resolve the object name to an interceptor instance on session creation. Typically used for prototype interceptors, i.e. a new interceptor instance per session.

Can also be used for shared interceptor instances, but it is recommended to set the interceptor reference directly in such a scenario.

See Also

HibernateTemplate Class | Spring.Data.NHibernate Namespace