FileDocCategorySizeDatePackage
SemaphoredObjectMixin.javaAPI DocJBoss 4.2.11542Fri Jul 13 21:02:36 BST 2007org.jboss.aspects.concurrent

SemaphoredObjectMixin

public class SemaphoredObjectMixin extends Object implements SemaphoredObject
comment
author
Bill Burke

Fields Summary
private Semaphore
semaphore
Constructors Summary
public SemaphoredObjectMixin(Object obj)

      Semaphored l = obj.getClass().getAnnotation(Semaphored.class);
      semaphore = new Semaphore(l.permits(), l.isFair());
   
Methods Summary
public java.util.concurrent.SemaphoregetSemaphore()

      return semaphore;