Package org.jboss.resteasy.cdi.util

Examples of org.jboss.resteasy.cdi.util.Counter


      try
      {
         log.info(this + ": msg: " + tm.getText());
         BookCollection collection = resource.getBookCollection();
         log.info(this + ": collection.size() before: " + collection.getBooks().size());
         Counter counter = resource.getCounter();
         collection.addBook(new Book(counter.getNext(), tm.getText()));
         log.info(this + ": collection.size() after: " + collection.getBooks().size());
         CountDownLatch latch = resource.getCountDownLatch();
         latch.countDown(); // Tell BookResource book has been stored.
      }
      catch (JMSException e)
View Full Code Here

TOP

Related Classes of org.jboss.resteasy.cdi.util.Counter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.