Package org.jboss.ha.framework.server

Examples of org.jboss.ha.framework.server.HAServiceEvent


      assertSame(newName, name);
   }
  
   public void testHandleEvent() throws Exception
   {
      HAServiceEvent event = new HAServiceEvent("", "");
     
      this.partition.callAsynchMethodOnCluster(EasyMock.same(SERVICE_HA_NAME), EasyMock.eq("handleEvent"), EasyMock.aryEq(new Object[] { event }), EasyMock.aryEq(new Class[] { EventObject.class }), EasyMock.eq(true));
     
      EasyMock.replay(this.partition);
     
View Full Code Here


  
   @SuppressWarnings("unchecked")
   public void testEventFacility()
   {
      // Test add and notify
      HAServiceEvent event = new HAServiceEvent("", "");
      EventListener<HAServiceEvent> listener1 = EasyMock.createStrictMock(EventListener.class);
      EventListener<HAServiceEvent> listener2 = EasyMock.createStrictMock(EventListener.class);
     
      try
      {
View Full Code Here

TOP

Related Classes of org.jboss.ha.framework.server.HAServiceEvent

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.