org.omg.CosLifeCycle
Interface FactoryFinder

All Known Subinterfaces:
FactoryFinder

public interface FactoryFinder
extends org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity


Method Summary
 org.omg.CORBA.Object[] find_factories(NameComponent[] factory_key)
          Obtains a list of application factories.
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Method Detail

find_factories

public org.omg.CORBA.Object[] find_factories(NameComponent[] factory_key)
                                      throws org.omg.CosLifeCycle.NoFactory
Obtains a list of application factories. The find_factories method instructs the FactoryFinder to return a list of server application factory object references whose keys match the method's input key. The M3 system assumes that an equality match is to be performed. This means that for the two sequences of pairs (those corresponding to the input key and those in the application factories keys), each are of equal length; and for every pair in one sequence, there is an identical pair in the other.
Parameters:
factory_key - This parameter contains a sequence of NameComponents ( value pairs) that uniquely identifies a factory object reference.
Returns:
Returns a sequence of object references for application factories.
Throws:
org.omg.CosLifeCycle.NoFactory - This exception is raised if the FactoryFinder cannot find an application factory object reference that corresponds to the input factory_key.