Package com.sun.corba.ee.spi.ior
Interface IORFactory
-
- All Superinterfaces:
MakeImmutable
,Writeable
- All Known Subinterfaces:
IORTemplate
,IORTemplateList
- All Known Implementing Classes:
IORTemplateImpl
,IORTemplateListImpl
public interface IORFactory extends Writeable, MakeImmutable
An IORFactory provides the capability of creating IORs. It contains some collection of TaggedProfileTemplates, which can be iterated over for portable interceptors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isEquivalent(IORFactory other)
Return true iff this.makeIOR(orb,typeid,oid).isEquivalent( other.makeIOR(orb,typeid,oid) for all orb, typeid, and oid.IOR
makeIOR(ORB orb, java.lang.String typeid, ObjectId oid)
Construct an IOR containing the given ORB, typeid, and ObjectId.-
Methods inherited from interface com.sun.corba.ee.spi.ior.MakeImmutable
makeImmutable
-
-
-
-
Method Detail
-
makeIOR
IOR makeIOR(ORB orb, java.lang.String typeid, ObjectId oid)
Construct an IOR containing the given ORB, typeid, and ObjectId. The same ObjectId will be used for all TaggedProfileTemplates in the IORFactory.- Parameters:
orb
- ORB to usetypeid
- typeid of IORoid
- objectId IOR- Returns:
- created IOR
-
isEquivalent
boolean isEquivalent(IORFactory other)
Return true iff this.makeIOR(orb,typeid,oid).isEquivalent( other.makeIOR(orb,typeid,oid) for all orb, typeid, and oid.- Parameters:
other
- factory to compare with- Returns:
- true if they are equivalent
-
-