Package org.infinispan.test.arquillian

Examples of org.infinispan.test.arquillian.DatagridManager


   {
      if (infinispanContext.get() == null) {
         return;
      }
     
      DatagridManager manager = (DatagridManager) infinispanContext.get().get(DatagridManager.class);
      if (manager != null)
      {
         log.fine("Destroying datagrid...");
         manager.destroy();
      }
   }
View Full Code Here


   private Instance<InfinispanContext> infinispanContext;
  
   @SuppressWarnings("unchecked")
   public void destroyInfinispanDatagrid(@Observes After event)
   {
      DatagridManager manager = (DatagridManager) infinispanContext.get().get(DatagridManager.class);
      if (manager != null)
      {
         log.fine("Destroying datagrid...");
         manager.destroy();
      }
   }
View Full Code Here

            infinispanContext.set(new InfinispanContext());
         }
         value = infinispanContext.get().get(type);
         if (value == null)
         {
            value = new DatagridManager();
            infinispanContext.get().add(type, value);
         }
      }
      else if (type.equals(RemoteInfinispanServers.class))
      {
View Full Code Here

TOP

Related Classes of org.infinispan.test.arquillian.DatagridManager

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.