org.apache.tuscany.sca.host.corba
Interface CorbaHost

All Known Implementing Classes:
DefaultCorbaHost, ExtensibleCorbaHost, JEECorbaHost, TnsDefaultCorbaHost

public interface CorbaHost


Method Summary
 org.omg.CORBA.Object lookup(java.lang.String uri)
          Gets reference to object
 void registerServant(java.lang.String uri, org.omg.CORBA.Object serviceObject)
          Registers servant in name server.
 void unregisterServant(java.lang.String uri)
          Removes servant from name server
 

Method Detail

registerServant

void registerServant(java.lang.String uri,
                     org.omg.CORBA.Object serviceObject)
                     throws CorbaHostException
Registers servant in name server.

Parameters:
uri - corbaname URI
serviceObject -
Throws:
CorbaHostException

unregisterServant

void unregisterServant(java.lang.String uri)
                       throws CorbaHostException
Removes servant from name server

Parameters:
orb - The ORB instance
name - binding name
Throws:
CorbaHostException

lookup

org.omg.CORBA.Object lookup(java.lang.String uri)
                            throws CorbaHostException
Gets reference to object

Parameters:
name - binding name
Returns:
objects reference
Throws:
CorbaHostException