Revision: 16442
Author: emmartins
Date: Fri Jan 14 17:05:22 2011
Log: adds constructor for externalizable
http://code.google.com/p/mobicents/source/detail?r=16442

Modified:
/trunk/servers/jain-slee/core/profiles/src/main/java/org/mobicents/slee/runtime/facilities/profile/ProfileTableActivityHandleImpl.java

=======================================
--- /trunk/servers/jain-slee/core/profiles/src/main/java/org/mobicents/slee/runtime/facilities/profile/ProfileTableActivityHandleImpl.java Mon Dec 20 08:51:05 2010 +++ /trunk/servers/jain-slee/core/profiles/src/main/java/org/mobicents/slee/runtime/facilities/profile/ProfileTableActivityHandleImpl.java Fri Jan 14 17:05:22 2011
@@ -27,6 +27,10 @@

        private transient Address clusterLocalAddress;

+       public ProfileTableActivityHandleImpl() {
+               // for externalizable only
+       }
+
public ProfileTableActivityHandleImpl(String profileTable, Address clusterLocalAddress) {
                this.profileTable = profileTable;
                this.clusterLocalAddress = clusterLocalAddress;
@@ -62,6 +66,14 @@
return profileTable.hashCode() * 31 + (clusterLocalAddress == null ? 0 : clusterLocalAddress.hashCode()) ;
        }

+       public void setClusterLocalAddress(Address clusterLocalAddress) {
+               this.clusterLocalAddress = clusterLocalAddress;
+       }
+
+       public void setProfileTable(String profileTable) {
+               this.profileTable = profileTable;
+       }
+
        public String getProfileTable() {
                return profileTable;
        }

Reply via email to