org.objectweb.jac.aspects.hibernate
Class BeginPersistentSessionWrapper
java.lang.Object
|
+--org.objectweb.jac.core.Wrapper
|
+--org.objectweb.jac.aspects.hibernate.BeginPersistentSessionWrapper
- All Implemented Interfaces:
- Advice, ConstructorInterceptor, Interceptor, MethodInterceptor, Serializable
- public class BeginPersistentSessionWrapper
- extends Wrapper
This wrapper delimits the begining of a persistent session.
- Version:
- 1.0
- Author:
- Lionel Seinturier
- See Also:
- Serialized Form
Fields inherited from class org.objectweb.jac.core.Wrapper |
ac, cr |
BeginPersistentSessionWrapper
public BeginPersistentSessionWrapper(AspectComponent ac)
invoke
public Object invoke(MethodInvocation invocation)
- Wrapping method around pointcuts
where a persistent session begins.
- Specified by:
invoke
in interface MethodInterceptor
- Overrides:
invoke
in class Wrapper
construct
public Object construct(ConstructorInvocation invocation)
throws Throwable
- Specified by:
construct
in interface ConstructorInterceptor
- Overrides:
construct
in class Wrapper
Throwable