1 21 package uk.org.primrose.pool.standalone; 22 23 public class ObjectRefAddr extends javax.naming.BinaryRefAddr { 24 25 Object content; 26 27 public ObjectRefAddr(String addrType, byte[] src) { 28 super(addrType, src); 29 } 30 31 public ObjectRefAddr(String addrType, byte[] src, int offset, int count) { 32 super(addrType, src, offset, count); 33 } 34 35 36 public boolean equals(Object obj) { 37 return true; 38 } 39 40 public void setContent(Object content) { 41 this.content = content; 42 } 43 44 public Object getContent() { 45 return content; 46 } 47 } | Popular Tags |