1 23 24 package org.objectweb.jorm.facility.naming.polymorphid; 25 26 import org.objectweb.jorm.api.PException; 27 import org.objectweb.jorm.api.PMapper; 28 import org.objectweb.jorm.naming.api.PBinder; 29 import org.objectweb.jorm.naming.api.PNamingContext; 30 import org.objectweb.jorm.type.api.PTypeSpace; 31 import org.objectweb.jorm.facility.naming.generator.LongGenMgr; 32 33 40 public interface PolymorphIdMgr { 41 44 void binderTypeDef(PolymorphIdBinderInfo b); 45 46 49 LongGenMgr getLongGenMgr(); 50 51 56 PBinder getPBinder(String cn) throws PException; 57 58 63 PBinder getPBinder(long id) throws PException; 64 65 70 PBinder getPBinder(String cn, Object conn) throws PException; 71 72 75 PMapper getPMapper(); 76 77 84 PNamingContext getRefNC(String cn); 85 86 91 void init(PMapper pm, byte clact) throws PException; 92 93 96 void ncTypeDef(PolymorphRefNC n); 97 98 101 long newClassId() throws PException; 102 103 long newClassId(Object conn) throws PException; 104 } 105 | Popular Tags |