org.omg.PortableServer

Interface AdapterActivatorOperations

public interface AdapterActivatorOperations

Defines the operations, applicable to the AdapterActivator.
Method Summary
booleanunknown_adapter(POA parent, String child_name)
This method is invoked when the ORB receives a request for an object reference that identifies a non-existing target POA, to create it.

Method Detail

unknown_adapter

public boolean unknown_adapter(POA parent, String child_name)
This method is invoked when the ORB receives a request for an object reference that identifies a non-existing target POA, to create it. The ORB invokes this operation once for each POA that must be created in order for the target POA to exist. The process remebers creating a nested folder structure, starting from the ancestor POA closest to the root POA. The operation is invoked on the adapter activator of POA that is the parent of the POA that needs to be created.

Parameters: parent the parent POA, for that the child POA must be created. child_name the name of the child POA that must be created.

Returns: true if the operation has successfully created the needed POA, false that POA cannot be created. In this case, the client will receive the remote exception ({@link OBJECT_NOT_EXIST}, minor code 2).