1 package org.jboss.test.cluster.partition; 2 3 import java.io.Serializable ; 4 5 public class CustomStateHAPartitionStateTransfer 6 extends AbstractHAPartitionStateTransfer 7 implements CustomStateHAPartitionStateTransferMBean 8 { 9 public static final String CUSTOM = "Custom"; 10 11 public Serializable getCurrentState() 12 { 13 return new CustomState(); 14 } 15 16 private static class CustomState implements Serializable  17 { 18 19 private static final long serialVersionUID = 1L; 20 21 public String toString() 22 { 23 return CUSTOM; 24 } 25 } 26 27 } 28 | Popular Tags |