Package org.jboss.as.ejb3.iiop
Interface ServantRegistry
public interface ServantRegistry
Interface of a registry for CORBA servants.
- Version:
- $Revision: 81018 $
- Author:
- Francisco Reverbel
-
Method Summary
Modifier and TypeMethodDescriptionBindsnametoservant.Bindsnametoservant, with the givenpolicies.voidUnbinds the servant bound toname.
-
Method Details
-
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
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
-
unbind
Unbinds the servant bound toname.- Throws:
Exception
-