|
|
|
|||||
|
Hi
In the section 21.6.2 Implementing The file system server in C++. An Object Factory is used on the documentation side's Ice1.1.1 page 595 and Ice1.3.0 page 618. The explanation in the section 21.5.2 of Object Factories. Documentation side´s Ice1.1.1 page 589 and Ice1.3.0 page 610 says, The Freeze evictor is are generic facility in that it manages instances of Object subclasses. I want to produce an Instance of a class in the DB, can I use the Object Factory of this class? Thx 4 help enzo |
|
|||||
|
// Create the root node if it doesn't exist
// Ice.Identity rootId = Ice.Util.stringToIdentity("RootDir"); if(!evictor.hasObject(rootId)) { PersistentDirectory root = new DirectoryI(rootId); root.nodeName = "/"; root.nodes = new java.util.HashMap(); evictor.createObject(rootId, root); } PersistentDirectory root = new DirectoryI(rootId); can I do this by the Factory? |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question about proxy's factory methods. | rc_hz | Help Center | 7 | 09-05-2006 08:58 AM |
| How to release object. | laotee | Help Center | 12 | 08-30-2005 12:48 AM |
| Object Factories and object initialisation | Nis Baggesen | Help Center | 1 | 09-30-2004 08:40 AM |
| thread per object | Harvinder | Comments | 3 | 06-21-2004 05:12 PM |
| Object Replication? | rstolle | Help Center | 3 | 03-29-2004 05:36 PM |