org.jboss.portal.server.aspects
Class LockInterceptor

java.lang.Object
  extended by org.jboss.portal.server.aspects.LockInterceptor
All Implemented Interfaces:
Interceptor
Direct Known Subclasses:
SessionLockInterceptor

public abstract class LockInterceptor
extends java.lang.Object
implements Interceptor

Version:
$Revision: 1.1 $
Author:
Julien Viet

Nested Class Summary
static class LockInterceptor.InternalLock
           
 
Constructor Summary
LockInterceptor()
           
 
Method Summary
protected  LockInterceptor.InternalLock acquire(java.lang.Object lockId)
           
protected abstract  java.lang.Object getLockId(Invocation invocation)
           
 java.lang.Object invoke(Invocation invocation)
          todo
protected  void release(LockInterceptor.InternalLock internalLock)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockInterceptor

public LockInterceptor()
Method Detail

acquire

protected LockInterceptor.InternalLock acquire(java.lang.Object lockId)

release

protected void release(LockInterceptor.InternalLock internalLock)

getLockId

protected abstract java.lang.Object getLockId(Invocation invocation)

invoke

public java.lang.Object invoke(Invocation invocation)
                        throws java.lang.Exception,
                               InvocationException
Description copied from interface: Interceptor
todo

Specified by:
invoke in interface Interceptor
Throws:
java.lang.Exception
InvocationException