Examples of activate()


Examples of org.jboss.as.ejb3.component.entity.EntityBeanComponentInstance.activate()

    public void stop() {
    }

    private EntityBeanComponentInstance createInstance(final Object pk) {
        final EntityBeanComponentInstance instance = component.acquireUnAssociatedInstance();
        instance.activate(pk);
        return instance;
    }

    private class CacheEntry {
        private final AtomicInteger referenceCount = new AtomicInteger(0);
View Full Code Here

Examples of org.jboss.as.test.integration.ejb.mdb.dynamic.impl.TelnetServer.activate()

                }

                @Override
                public void run() {
                    try {
                        telnetServer.activate();
                    } catch (IOException e) {
                        throw new RuntimeException(e);
                    }
                }
            }, 0, null, null);
View Full Code Here

Examples of org.jboss.cache.Region.activate()

   protected void createAndActivateRegion(CacheSPI<Object, Object> c, Fqn f)
   {
      Region r = c.getRegion(f, true);
      r.registerContextClassLoader(getClass().getClassLoader());
      r.activate();
   }

   /**
    * Provides a hook for multiplexer integration. This default implementation
    * is a no-op; subclasses that test mux integration would override
View Full Code Here

Examples of org.jboss.cache.marshall.Region.activate()

         // we process the queue and activate the region
         List queue = region.getMethodCallQueue();
         synchronized (queue)
         {
            processQueuedMethodCalls(queue);
            region.activate();
         }

      }
      catch (Throwable t)
      {
View Full Code Here

Examples of org.jboss.ejb3.core.test.jbpapp7523.PassivatingStatefulLocal.activate()

            TestCache.passivationCompleteNotification.wait(10000);
        }

        assertEquals(0, PassivatingStatefulBean.postActivations.get());

        bean.activate();
        assertEquals(1, PassivatingStatefulBean.postActivations.get());

        PassivatingStatefulBean.barrier.await(10, TimeUnit.SECONDS);
        synchronized (TestCache.passivationCompleteNotification) {
            TestCache.passivationCompleteNotification.wait(10000);
View Full Code Here

Examples of org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.RecoveryTransaction.activate()

        if (bar.getValue() == mMaxIteration * mNumberOfResources)
        {
          tx = new RecoveryTransaction(new Uid(txId));

          if (tx.activate())  // should generate a warning message
          {
            Debug("Error transaction log is still available!");

            mCorrect = false;
          }
View Full Code Here

Examples of org.jboss.jca.core.spi.rar.Endpoint.activate()

        ValidActivationSpec vas=(ValidActivationSpec)as;

        ValidMessageEndpoint me = new ValidMessageEndpoint();
        ValidMessageEndpointFactory mef = new ValidMessageEndpointFactory(me);

        endpoint.activate(mef, vas);
        endpoint.deactivate(mef, vas);
    }

    @Test
    public void testMetadataConfiguration() throws Throwable {
View Full Code Here

Examples of org.jboss.messaging.core.contract.Queue.activate()

               {
                  log.trace(this + " inserted in binding locally");
               }
               queue2.load();

               queue2.activate();
            }
         }
     }
     
      synchronized (waitForBindUnbindLock)
View Full Code Here

Examples of org.jboss.messaging.core.impl.MessagingQueue.activate()

               {
                  log.trace(this + " inserted in binding locally");
               }
               queue2.load();

               queue2.activate();
            }
         }
     }
     
      synchronized (waitForBindUnbindLock)
View Full Code Here

Examples of org.jboss.messaging.core.local.PagingFilteredQueue.activate()

                              destination.getDownCacheSize());
            queue.load();
              
            // Must be done after load
            queue.setMaxSize(destination.getMaxSize());
            queue.activate();          
         }
                    
         if (queue == null)
         {          
            // Create a new queue
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.