Making classes final to make inheritance impossible
[iot2.git] / iotjava / iotruntime / master / ObjectInitInfo.java
index b40ad23..68455ee 100644 (file)
@@ -7,14 +7,13 @@ package iotruntime.master;
  * @since       2015-05-12
  */
 
-public class ObjectInitInfo extends ObjectCreationInfo {
+public final class ObjectInitInfo extends ObjectCreationInfo {
 
        /**
         * ObjectInitInfo properties
         */
        protected int iRMIRegPort;
        protected int iRMIStubPort;
-       protected Integer[] iRMICallbackPorts;
 
 
        /**
@@ -22,12 +21,11 @@ public class ObjectInitInfo extends ObjectCreationInfo {
         */
        public ObjectInitInfo(String _strIoTSlaveObjectHostAdd, String _strObjName, 
                String _strObjClassName, String _strObjClassInterfaceName, String _strObjStubClsIntfaceName,
-               int _iRMIRegPort, int _iRMIStubPort, Integer[] _iRMICallbackPorts) {
+               int _iRMIRegPort, int _iRMIStubPort) {
 
                super(_strIoTSlaveObjectHostAdd, _strObjName, _strObjClassName, _strObjClassInterfaceName, _strObjStubClsIntfaceName);
                iRMIRegPort = _iRMIRegPort;
                iRMIStubPort = _iRMIStubPort;
-               iRMICallbackPorts = _iRMICallbackPorts;
        }
 
        /**
@@ -43,11 +41,4 @@ public class ObjectInitInfo extends ObjectCreationInfo {
        public int getRMIStubPort() {
                return iRMIStubPort;
        }
-
-       /**
-        * Method getRMICallbackPorts()
-        */
-       public Integer[] getRMICallbackPorts() {
-               return iRMICallbackPorts;
-       }
 }