Class SemaphoreProducer

    • Constructor Detail

      • SemaphoreProducer

        public SemaphoreProducer()
    • Method Detail

      • getName

        protected String getName​(javax.enterprise.inject.spi.InjectionPoint ip)
        Determine the name of the semaphore from a Name annotation or member name.
        Parameters:
        ip - the injection point
        Returns:
        the name of the semaphore to inject
      • getPermits

        protected int getPermits​(javax.enterprise.inject.spi.InjectionPoint ip)