Package org.jboss.as.ejb3.iiop
Interface ServantRegistry
-
public interface ServantRegistryInterface of a registry for CORBA servants.- Version:
- $Revision: 81018 $
- Author:
- Francisco Reverbel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReferenceFactorybind(String name, org.omg.PortableServer.Servant servant)Bindsnametoservant.ReferenceFactorybind(String name, org.omg.PortableServer.Servant servant, org.omg.CORBA.Policy[] policies)Bindsnametoservant, with the givenpolicies.voidunbind(String name)Unbinds the servant bound toname.
-
-
-
Method Detail
-
bind
ReferenceFactory bind(String name, org.omg.PortableServer.Servant servant, org.omg.CORBA.Policy[] policies) throws Exception
Bindsnametoservant, with the givenpolicies. Returns aReferenceFactorythat should be used to create CORBA references to the object(s) implemented byservant. A CORBA reference created by this factory will containnameas the servant id embedded in the reference. If the servant implements more than one CORBA object, references for such objects should be created by theReferenceFactorymethodcreateReferenceWithId(), which takes anidparameter to distinguish among the objects implemented by the same servant. Otherwise (if the servant implements a single CORBA object) the methodcreateReference()should be used.- Throws:
Exception
-
bind
ReferenceFactory bind(String name, org.omg.PortableServer.Servant servant) throws Exception
Bindsnametoservant. Returns aReferenceFactorythat should be used to create CORBA references to the object(s) implemented byservant. For the usage of thisReferenceFactory, see method above.- Throws:
Exception
-
-