Interface ReferenceFactory


  • public interface ReferenceFactory
    Interface of a CORBA reference factory. Such a factory encapsulates a POA and provides reference creation methods.
    Author:
    Francisco Reverbel
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.omg.CORBA.Object createReference​(String inferfId)
      Creates a reference with a null id in its "reference data" and with object type information given by the interfId parameter.
      org.omg.CORBA.Object createReferenceWithId​(byte[] id, String interfId)
      Creates a reference with the specified id in its "reference data" and with object type information given by the interfId parameter.
      org.omg.PortableServer.POA getPOA()
      Returns a reference to the POA encapsulated by this ReferenceFactory.
    • Method Detail

      • createReference

        org.omg.CORBA.Object createReference​(String inferfId)
                                      throws Exception
        Creates a reference with a null id in its "reference data" and with object type information given by the interfId parameter.
        Throws:
        Exception
      • createReferenceWithId

        org.omg.CORBA.Object createReferenceWithId​(byte[] id,
                                                   String interfId)
                                            throws Exception
        Creates a reference with the specified id in its "reference data" and with object type information given by the interfId parameter.
        Throws:
        Exception
      • getPOA

        org.omg.PortableServer.POA getPOA()
        Returns a reference to the POA encapsulated by this ReferenceFactory.