FileDocCategorySizeDatePackage
FamilyWrapper.javaAPI DocJBoss 4.2.12487Fri Jul 13 21:02:26 BST 2007org.jboss.aspects.remoting

FamilyWrapper

public class FamilyWrapper extends Object implements Externalizable
author
Bill Burke
version
$Revision: 57186 $

Fields Summary
private static final long
serialVersionUID
private org.jboss.ha.framework.interfaces.FamilyClusterInfo
info
Constructors Summary
public FamilyWrapper()


     
public FamilyWrapper(String proxyFamilyName, ArrayList targets)

      info = ClusteringTargetsRepository.initTarget(proxyFamilyName, targets);
   
Methods Summary
public org.jboss.ha.framework.interfaces.FamilyClusterInfoget()

 return info; 
public voidreadExternal(java.io.ObjectInput in)
Un-externalize this instance. We check timestamps of the interfaces to see if the instance is in the original VM of creation

      String proxyFamilyName = (String)in.readObject();
      ArrayList targets = (ArrayList)in.readObject();
      // keep a reference on our family object
      //
      this.info = ClusteringTargetsRepository.initTarget(proxyFamilyName, targets);
   
public voidwriteExternal(java.io.ObjectOutput out)

       
      out.writeObject(info.getFamilyName());
      out.writeObject(info.getTargets());