org.openorb.orb.net
Class ServerManagerImpl.AdapterManagerImpl

java.lang.Object
  |
  +--org.omg.CORBA.LocalObject
        |
        +--org.openorb.orb.net.ServerManagerImpl.AdapterManagerImpl
All Implemented Interfaces:
AdapterManager, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.Object, org.omg.PortableServer.POAManager, org.omg.PortableServer.POAManagerOperations, java.io.Serializable
Enclosing class:
ServerManagerImpl

public class ServerManagerImpl.AdapterManagerImpl
extends org.omg.CORBA.LocalObject
implements org.omg.PortableServer.POAManager, AdapterManager

This class provides an implementation for the AdapterManager interface.

See Also:
Serialized Form

Method Summary
 void activate()
           
 void deactivate(boolean etherealize, boolean wait_for_completion)
           
 void discard_requests(boolean wait_for_completion)
           
 org.omg.PortableServer.POAManagerPackage.State get_state()
          Return the current state of the state machine.
 void hold_requests(boolean wait_for_completion)
          Put the AdapterManager into the HOLDING state.
 void setMaxManagerHeldRequests(int max)
          Set the maximum number of requests a manager accepts.
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _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_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
 

Method Detail

setMaxManagerHeldRequests

public void setMaxManagerHeldRequests(int max)
Set the maximum number of requests a manager accepts.
Specified by:
setMaxManagerHeldRequests in interface AdapterManager

get_state

public org.omg.PortableServer.POAManagerPackage.State get_state()
Return the current state of the state machine.
Specified by:
get_state in interface org.omg.PortableServer.POAManagerOperations

deactivate

public void deactivate(boolean etherealize,
                       boolean wait_for_completion)
                throws org.omg.PortableServer.POAManagerPackage.AdapterInactive
Specified by:
deactivate in interface org.omg.PortableServer.POAManagerOperations

discard_requests

public void discard_requests(boolean wait_for_completion)
                      throws org.omg.PortableServer.POAManagerPackage.AdapterInactive
Specified by:
discard_requests in interface org.omg.PortableServer.POAManagerOperations

hold_requests

public void hold_requests(boolean wait_for_completion)
                   throws org.omg.PortableServer.POAManagerPackage.AdapterInactive
Put the AdapterManager into the HOLDING state.
Specified by:
hold_requests in interface org.omg.PortableServer.POAManagerOperations
Parameters:
wait_for_completion - If this flag is true the operation will not return until the POAs associated with this manager have completed any pending requests and also entered the HOLDING state.

activate

public void activate()
              throws org.omg.PortableServer.POAManagerPackage.AdapterInactive
Specified by:
activate in interface org.omg.PortableServer.POAManagerOperations