org.jboss.invocation.iiop
Interface ReferenceFactory


public interface ReferenceFactory

Interface of a CORBA reference factory. Such a factory encapsulates a POA and provides reference creation methods.


Method Summary
 org.omg.CORBA.Object createReference(java.lang.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(java.lang.Object id, java.lang.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

public org.omg.CORBA.Object createReference(java.lang.String inferfId)
                                     throws java.lang.Exception
Creates a reference with a null id in its "reference data" and with object type information given by the interfId parameter.

Throws:
java.lang.Exception

createReferenceWithId

public org.omg.CORBA.Object createReferenceWithId(java.lang.Object id,
                                                  java.lang.String interfId)
                                           throws java.lang.Exception
Creates a reference with the specified id in its "reference data" and with object type information given by the interfId parameter.

Throws:
java.lang.Exception

getPOA

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