Package com.sun.corba.se.impl.oa.poa
Class POAManagerImpl
java.lang.Object
org.omg.CORBA.LocalObject
com.sun.corba.se.impl.oa.poa.POAManagerImpl
- All Implemented Interfaces:
Serializable,Object,IDLEntity,POAManager,POAManagerOperations
POAManagerImpl is the implementation of the POAManager interface.
Its public methods are activate(), hold_requests(), discard_requests()
and deactivate().
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()activateSpec: pages 3-14 thru 3-18voiddeactivate(boolean etherealize_objects, boolean wait_for_completion) deactivateSpec: pages 3-14 thru 3-18 Note: INACTIVE is a permanent state.voiddiscard_requests(boolean wait_for_completion) discard_requestsSpec: pages 3-14 thru 3-18Added according to the spec CORBA V2.3; this returns the state of the POAManagerintshortvoidhold_requests(boolean wait_for_completion) hold_requestsSpec: pages 3-14 thru 3-18voidActivate the POAManager if no explicit state change has ever been previously invoked.toString()Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _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_connectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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 Details
-
toString
-
getManagerId
public int getManagerId() -
getORTState
public short getORTState() -
activate
activateSpec: pages 3-14 thru 3-18- Specified by:
activatein interfacePOAManagerOperations- Throws:
AdapterInactive
-
hold_requests
hold_requestsSpec: pages 3-14 thru 3-18- Specified by:
hold_requestsin interfacePOAManagerOperations- Parameters:
wait_for_completion- if FALSE, the operation returns immediately after changing state. If TRUE, it waits for all active requests to complete.- Throws:
AdapterInactive
-
discard_requests
discard_requestsSpec: pages 3-14 thru 3-18- Specified by:
discard_requestsin interfacePOAManagerOperations- Parameters:
wait_for_completion- if FALSE, the operation returns immediately after changing state. If TRUE, it waits for all active requests to complete.- Throws:
AdapterInactive
-
deactivate
public void deactivate(boolean etherealize_objects, boolean wait_for_completion) throws AdapterInactive deactivateSpec: pages 3-14 thru 3-18 Note: INACTIVE is a permanent state.- Specified by:
deactivatein interfacePOAManagerOperations- Parameters:
etherealize_objects- a flag to indicate whether to invoke the etherealize operation of the associated servant manager for all active objects.wait_for_completion- if FALSE, the operation returns immediately after changing state. If TRUE, it waits for all active requests to complete.- Throws:
AdapterInactive
-
get_state
Added according to the spec CORBA V2.3; this returns the state of the POAManager- Specified by:
get_statein interfacePOAManagerOperations
-
implicitActivation
public void implicitActivation()Activate the POAManager if no explicit state change has ever been previously invoked.
-