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

    Modifier and Type
    Method
    Description
    boolean
    Return true iff this.makeIOR(orb,typeid,oid).isEquivalent( other.makeIOR(orb,typeid,oid) for all orb, typeid, and oid.
    makeIOR(ORB orb, 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

    Methods inherited from interface com.sun.corba.ee.spi.ior.Writeable

    write
  • Method Details

    • makeIOR

      IOR makeIOR(ORB orb, 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 use
      typeid - typeid of IOR
      oid - 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