org.ow2.util.ee.metadata.ejbjar.api
Interface ILock

All Superinterfaces:
Serializable
All Known Subinterfaces:
IEjbJarClassMetadata<E,D,C,M,F>, IEjbJarMethodMetadata<E,D,C,M,F>

public interface ILock
extends Serializable

This interface represents methods which can be call on ClassAnnotationMetadata and MethodAnnotationMetadata.

Author:
Florent Benoit

Method Summary
 ILockType getLockType()
           
 void setLockType(ILockType lockType)
          Set Lock Type.
 

Method Detail

getLockType

ILockType getLockType()
Returns:
lock type
See Also:
javax.ejb.LockType

setLockType

void setLockType(ILockType lockType)
Set Lock Type.

Parameters:
lockType - the type of the lock.
See Also:
javax.ejb.LockType


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.