org.apache.yoko.orb.IMR
Interface DomainOperations

All Known Subinterfaces:
Domain, ServerDomain, ServerDomainOperations
All Known Implementing Classes:
_DomainStub, _ServerDomainStub, DomainPOA, ServerDomainPOA

public interface DomainOperations


Method Summary
 void registerServer(String name, String exec, String host)
          Called for automatic server registration
 ActiveState startup(String serverId, String instance, ObjectReferenceTemplate root_tmpl, ProcessEndpointManagerHolder endpoint)
          Called to inform the IMR that the server has been started
 

Method Detail

registerServer

void registerServer(String name,
                    String exec,
                    String host)
                    throws ServerAlreadyRegistered
Called for automatic server registration

Parameters:
name - The server name
exec - The server executable path
host - The server host name
Throws:
ServerAlreadyRegistered

startup

ActiveState startup(String serverId,
                    String instance,
                    ObjectReferenceTemplate root_tmpl,
                    ProcessEndpointManagerHolder endpoint)
                    throws NoSuchServer,
                           NoSuchOAD,
                           OADNotRunning
Called to inform the IMR that the server has been started

Parameters:
serverId - The server id
instance - The server instance
root_tmpl - The RootPOA ORT
endpoint - The ProcessControllerRegistrar for the process
Throws:
NoSuchServer
NoSuchOAD
OADNotRunning


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.