public class POAManagerImpl extends LocalObject implements POAManager
Modifier and Type | Method and Description |
---|---|
void |
activate()
activate
Spec: pages 3-14 thru 3-18 |
void |
deactivate(boolean etherealize_objects,
boolean wait_for_completion)
deactivate
Spec: pages 3-14 thru 3-18
Note: INACTIVE is a permanent state. |
void |
discard_requests(boolean wait_for_completion)
discard_requests
Spec: pages 3-14 thru 3-18 |
State |
get_state()
Added according to the spec CORBA V2.3; this returns the
state of the POAManager
|
int |
getManagerId() |
short |
getORTState() |
void |
hold_requests(boolean wait_for_completion)
hold_requests
Spec: pages 3-14 thru 3-18 |
void |
implicitActivation()
Activate the POAManager if no explicit state change has ever been
previously invoked.
|
String |
toString() |
_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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_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
public int getManagerId()
public short getORTState()
public void activate() throws AdapterInactive
activate
Spec: pages 3-14 thru 3-18activate
in interface POAManagerOperations
AdapterInactive
- is raised if the operation is
invoked on the POAManager in inactive state.public void hold_requests(boolean wait_for_completion) throws AdapterInactive
hold_requests
Spec: pages 3-14 thru 3-18hold_requests
in interface POAManagerOperations
wait_for_completion
- if FALSE, the operation
returns immediately after changing state.
If TRUE, it waits for all active requests
to complete.AdapterInactive
- is raised if the operation is
invoked on the POAManager in inactive state.public void discard_requests(boolean wait_for_completion) throws AdapterInactive
discard_requests
Spec: pages 3-14 thru 3-18discard_requests
in interface POAManagerOperations
wait_for_completion
- if FALSE, the operation
returns immediately after changing state.
If TRUE, it waits for all active requests
to complete.AdapterInactive
- is raised if the operation is
invoked on the POAManager in inactive state.public void deactivate(boolean etherealize_objects, boolean wait_for_completion) throws AdapterInactive
deactivate
Spec: pages 3-14 thru 3-18
Note: INACTIVE is a permanent state.deactivate
in interface POAManagerOperations
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.AdapterInactive
- is raised if the operation is
invoked on the POAManager in inactive state.public State get_state()
get_state
in interface POAManagerOperations
public void implicitActivation()
Copyright © 2017 JBoss by Red Hat. All rights reserved.