站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 iiop API Documentation 英文版文档

ReferenceFactory (JBoss IIOP Plugin API) - JBoss 4.0.1 sp1 iiop API Documentation 英文版文档


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.

Version:
$Revision: 1.1 $
Author:
Francisco Reverbel

Method Summary
 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.
 Object createReferenceWithId(Object id, String interfId)
          Creates a reference with the specified id in its "reference data" and with object type information given by the interfId parameter.
 POA getPOA()
          Returns a reference to the POA encapsulated by this ReferenceFactory.
 

Method Detail

createReference

public 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

public Object createReferenceWithId(Object 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

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



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.