org.apache.yoko.orb.IMR
Class _ServerDomainStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.apache.yoko.orb.IMR._ServerDomainStub
All Implemented Interfaces:
Serializable, Domain, DomainOperations, ServerDomain, ServerDomainOperations, Object, IDLEntity

public class _ServerDomainStub
extends ObjectImpl
implements ServerDomain

See Also:
Serialized Form

Field Summary
static Class _ob_opsClass
           
 
Constructor Summary
_ServerDomainStub()
           
 
Method Summary
 String[] _ids()
           
 void create_oad_record(String _ob_a0)
          Create OAD record.
 OADInfo get_oad_record(String _ob_a0)
          Retrieve an OAD record.
 ServerFactory get_server_factory()
          Retrieve the Server Factory.
 OADInfo[] list_oads()
          List the Object Activation Daemons.
 void registerServer(String _ob_a0, String _ob_a1, String _ob_a2)
          Called for automatic server registration
 void remove_oad_record(String _ob_a0)
          Remove an OAD record.
 ActiveState startup(String _ob_a0, String _ob_a1, ObjectReferenceTemplate _ob_a2, ProcessEndpointManagerHolder _ob_ah3)
          Called to inform the IMR that the server has been started
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Field Detail

_ob_opsClass

public static final Class _ob_opsClass
Constructor Detail

_ServerDomainStub

public _ServerDomainStub()
Method Detail

_ids

public String[] _ids()
Specified by:
_ids in class ObjectImpl

get_server_factory

public ServerFactory get_server_factory()
Description copied from interface: ServerDomainOperations
Retrieve the Server Factory.

Specified by:
get_server_factory in interface ServerDomainOperations
Returns:
The reference to the server factory.

create_oad_record

public void create_oad_record(String _ob_a0)
                       throws OADAlreadyExists
Description copied from interface: ServerDomainOperations
Create OAD record.

Specified by:
create_oad_record in interface ServerDomainOperations
Parameters:
_ob_a0 - The host name
Throws:
OADAlreadyExists

remove_oad_record

public void remove_oad_record(String _ob_a0)
                       throws NoSuchOAD,
                              OADRunning
Description copied from interface: ServerDomainOperations
Remove an OAD record.

Specified by:
remove_oad_record in interface ServerDomainOperations
Parameters:
_ob_a0 - The OAD's host
Throws:
NoSuchOAD
OADRunning

get_oad_record

public OADInfo get_oad_record(String _ob_a0)
                       throws NoSuchOAD
Description copied from interface: ServerDomainOperations
Retrieve an OAD record.

Specified by:
get_oad_record in interface ServerDomainOperations
Parameters:
_ob_a0 - The OAD's host
Returns:
The OAD record.
Throws:
NoSuchOAD

list_oads

public OADInfo[] list_oads()
Description copied from interface: ServerDomainOperations
List the Object Activation Daemons.

Specified by:
list_oads in interface ServerDomainOperations
Returns:
A sequence of OADInfo's.

registerServer

public void registerServer(String _ob_a0,
                           String _ob_a1,
                           String _ob_a2)
                    throws ServerAlreadyRegistered
Description copied from interface: DomainOperations
Called for automatic server registration

Specified by:
registerServer in interface DomainOperations
Parameters:
_ob_a0 - The server name
_ob_a1 - The server executable path
_ob_a2 - The server host name
Throws:
ServerAlreadyRegistered

startup

public ActiveState startup(String _ob_a0,
                           String _ob_a1,
                           ObjectReferenceTemplate _ob_a2,
                           ProcessEndpointManagerHolder _ob_ah3)
                    throws NoSuchServer,
                           NoSuchOAD,
                           OADNotRunning
Description copied from interface: DomainOperations
Called to inform the IMR that the server has been started

Specified by:
startup in interface DomainOperations
Parameters:
_ob_a0 - The server id
_ob_a1 - The server instance
_ob_a2 - The RootPOA ORT
_ob_ah3 - The ProcessControllerRegistrar for the process
Throws:
NoSuchServer
NoSuchOAD
OADNotRunning


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