Examples of reset()


Examples of org.jboss.scanning.plugins.visitor.CachingReflectProvider.reset()

   {
      ReflectProvider provider = unit.removeAttachment(ReflectProvider.class);
      if (provider != null && provider instanceof CachingReflectProvider)
      {
         CachingReflectProvider crp = (CachingReflectProvider)provider;
         crp.reset();
      }
   }
}
View Full Code Here

Examples of org.jboss.seam.wiki.core.action.UserPasswordReset.reset()

            protected void invokeApplication() throws Exception {
                UserPasswordReset reset = (UserPasswordReset)getInstance(UserPasswordReset.class);
                reset.setPassword("foo123");
                reset.setPasswordControl("foo123");

                reset.reset();
            }

            protected void renderResponse() throws Exception {
                User user = (User)getInstance(UserPasswordReset.RESET_PASSWORD_OF_USER);
                assert user == null;
View Full Code Here

Examples of org.jboss.serial.io.JBossObjectOutputStreamSharedTree.reset()

    ObjectOutputStream objOut = new JBossObjectOutputStreamSharedTree(byteOut);

    TestCircularReferences circular = TestCircularReferences.createTestInstance();
    objOut.writeObject(circular.getReferences());
    objOut.writeObject(circular);
    objOut.reset();
    objOut.writeObject(circular.getReferences());
   
    ObjectInputStream objInput = new JBossObjectInputStreamSharedTree(new ByteArrayInputStream(byteOut.toByteArray()));
   
    Object first = objInput.readObject();
View Full Code Here

Examples of org.jboss.test.cluster.ejb3.clusteredsession.StatefulRemote.reset()

              +"Looking up testStateful...");
      StatefulRemote remote = (StatefulRemote) ctx.lookup("testStateful/remote");

      int invCount = 0;
     
      remote.reset();
      invCount++;
      remote.setState("hello");
      invCount++;
     
      sleep_(11100);
View Full Code Here

Examples of org.jboss.test.cluster.ejb3.stateful.nested.base.std.ParentStatefulRemote.reset()

      }
     
      assertFalse("Monitor and SFSB in same VM", vmMatch);
     
      // Reset the parent to initialize all the beans
      parent.reset();
     
      // Monitor the parent
      monitor.monitor(parent);
     
      // Reset the parent to clean things up
View Full Code Here

Examples of org.jboss.test.cluster.ejb3.stateful.nested.base.xpc.ShoppingCart.reset()

      Assert.assertTrue("Local nested and localDeepNested share a ref",
                        monitor.compareLocalNestedToLocalDeepNested(id));
     
      // Confirm this survives passivation/activation
     
      parent.reset();
     
      sleep(getSleepTime());
     
      // DeepContained beans ignore replication in their
      // activation/passivation counters, so we can test them
View Full Code Here

Examples of org.jboss.util.loading.ContextClassLoaderSwitcher.SwitchContext.reset()

            }
            finally
            {
               if (tclSwitchContext != null)
               {
                  tclSwitchContext.reset();
               }
            }


            // Send bytecodes/resource data in response (assumes HTTP/1.0 or later)
View Full Code Here

Examples of org.jboss.ws.extensions.xop.jaxrpc.XOPScanner.reset()

         XSComplexTypeDefinition xsComplexType = (XSComplexTypeDefinition)xsType;
         XSTypeDefinition resultType = scanner.findXOPTypeDef(xsComplexType);
         assertNotNull("Unable to find xop typedef in schema", resultType);
      }

      scanner.reset();

      // test the xmime binary declaration
      xsType = schemaModel.getTypeDefinition(">PingMsgResponse", "http://jboss.org/test/ws/xop/doclit");
      assertNotNull("Root type def not found", xsType);
      if (xsType instanceof XSComplexTypeDefinition)
View Full Code Here

Examples of org.jets3t.service.io.SegmentedRepeatableFileInputStream.reset()

        while ((read = segFIS.read()) != -1) {
            assertEquals("Read unexpected byte at offset " + offset,
                (offset % 256), read);
            offset++;
        }
        segFIS.reset();
        assertEquals("Unexpected amount of data available",
            testFileLength - targetOffset, segFIS.available());
        offset = targetOffset;
        while ((read = segFIS.read()) != -1) {
            assertEquals("Read unexpected byte at offset " + offset,
View Full Code Here

Examples of org.jgroups.stack.AckReceiverWindow.reset()

            sender_win.stop();
            sender_win=null;
        }
        for(Iterator it=receivers.values().iterator(); it.hasNext();) {
            win=(AckReceiverWindow)it.next();
            win.reset();
        }
        receivers.clear();
    }

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.