40 |
|
|
41 |
import gnu.CORBA.ByteArrayComparator; |
import gnu.CORBA.ByteArrayComparator; |
42 |
|
|
|
import org.omg.PortableServer.POA; |
|
43 |
import org.omg.PortableServer.Servant; |
import org.omg.PortableServer.Servant; |
44 |
|
|
45 |
import java.util.Iterator; |
import java.util.Iterator; |
66 |
/** |
/** |
67 |
* Create an initialised instance. |
* Create an initialised instance. |
68 |
*/ |
*/ |
69 |
Obj(org.omg.CORBA.Object _object, byte[] _key, Servant _servant, POA _poa) |
Obj(org.omg.CORBA.Object _object, byte[] _key, Servant _servant, gnuPOA _poa) |
70 |
{ |
{ |
71 |
object = _object; |
object = _object; |
72 |
key = _key; |
key = _key; |
95 |
/** |
/** |
96 |
* The POA, where the object is connected. |
* The POA, where the object is connected. |
97 |
*/ |
*/ |
98 |
public final POA poa; |
public final gnuPOA poa; |
99 |
|
|
100 |
/** |
/** |
101 |
* The object key. |
* The object key. |
257 |
* |
* |
258 |
* @return the newly created object record. |
* @return the newly created object record. |
259 |
*/ |
*/ |
260 |
public Obj add(org.omg.CORBA.Object object, Servant servant, POA poa) |
public Obj add(org.omg.CORBA.Object object, Servant servant, gnuPOA poa) |
261 |
{ |
{ |
262 |
return add(generateObjectKey(object), object, servant, poa); |
return add(generateObjectKey(object), object, servant, poa); |
263 |
} |
} |
271 |
* @param poa the POA, where the object is connected. |
* @param poa the POA, where the object is connected. |
272 |
*/ |
*/ |
273 |
public Obj add(byte[] key, org.omg.CORBA.Object object, Servant servant, |
public Obj add(byte[] key, org.omg.CORBA.Object object, Servant servant, |
274 |
POA poa |
gnuPOA poa |
275 |
) |
) |
276 |
{ |
{ |
277 |
Obj rec = new Obj(object, key, servant, poa); |
Obj rec = new Obj(object, key, servant, poa); |