public class POAImpl extends ObjectAdapterBase implements POA
| Modifier and Type | Field and Description |
|---|---|
protected ThreadLocal<Object> |
isDestroying |
| Modifier and Type | Method and Description |
|---|---|
void |
activate_object_with_id(byte[] id,
Servant servant)
activate_object_with_id Section 3.3.8.15 |
byte[] |
activate_object(Servant servant)
activate_object Section 3.3.8.14 |
IdAssignmentPolicy |
create_id_assignment_policy(IdAssignmentPolicyValue value)
create_id_assignment_policy Section 3.3.8.5 |
IdUniquenessPolicy |
create_id_uniqueness_policy(IdUniquenessPolicyValue value)
create_id_uniqueness_policy Section 3.3.8.5 |
ImplicitActivationPolicy |
create_implicit_activation_policy(ImplicitActivationPolicyValue value)
create_implicit_activation_policy Section 3.3.8.5 |
LifespanPolicy |
create_lifespan_policy(LifespanPolicyValue value)
create_lifespan_policy Section 3.3.8.5 |
POA |
create_POA(String name,
POAManager theManager,
Policy[] policies)
create_POA Section 3.3.8.2 |
Object |
create_reference_with_id(byte[] oid,
String repId)
create_reference_with_id 3.3.8.18 |
Object |
create_reference(String repId)
create_reference 3.3.8.17 |
RequestProcessingPolicy |
create_request_processing_policy(RequestProcessingPolicyValue value)
create_request_processing_policy Section 3.3.8.5 |
ServantRetentionPolicy |
create_servant_retention_policy(ServantRetentionPolicyValue value)
create_servant_retention_policy Section 3.3.8.5 |
ThreadPolicy |
create_thread_policy(ThreadPolicyValue value)
create_thread_policy Section 3.3.8.5 |
void |
deactivate_object(byte[] id)
deactivate_object 3.3.8.16 |
void |
destroy(boolean etherealize,
boolean wait_for_completion)
destroy Section 3.3.8.4 |
void |
enter()
enter must be called before each request is invoked on a servant.
|
void |
exit()
exit must be called after each request has been completed.
|
POA |
find_POA(String name,
boolean activate)
find_POA Section 3.3.8.3 |
ServantManager |
get_servant_manager()
get_servant_manager Section 3.3.8.10 |
Servant |
get_servant()
get_servant Section 3.3.8.12 |
Policy |
getEffectivePolicy(int type) |
String[] |
getInterfaces(Object servant,
byte[] objectId)
Return the most derived interface for the given servant and objectId.
|
void |
getInvocationServant(OAInvocationInfo info)
Get the servant for the request given by the parameters.
|
Object |
getLocalServant(byte[] objectId)
Get the servant corresponding to the given objectId, if this is supported.
|
int |
getManagerId()
Return the ID of the AdapterManager for this object adapter.
|
protected ObjectCopierFactory |
getObjectCopierFactory() |
short |
getState()
Return the current state of this object adapter (see org.omg.PortableInterceptors for states.
|
Object |
id_to_reference(byte[] id)
id_to_reference 3.3.8.24 |
Servant |
id_to_servant(byte[] id)
id_to_servant 3.3.8.23 |
byte[] |
id()
id 11.3.8.26 in ptc/00-08-06 |
byte[] |
reference_to_id(Object reference)
reference_to_id 3.3.8.22 |
Servant |
reference_to_servant(Object reference)
reference_to_servant 3.3.8.21 |
void |
returnServant()
Called from the subcontract to let this POA cleanup after an invocation.
|
byte[] |
servant_to_id(Servant servant)
servant_to_id 3.3.8.19 |
Object |
servant_to_reference(Servant servant)
servant_to_reference 3.3.8.20 |
void |
set_servant_manager(ServantManager servantManager)
set_servant_manager Section 3.3.8.10 |
void |
set_servant(Servant defaultServant)
set_servant Section 3.3.8.13 |
AdapterActivator |
the_activator()
the_activator Section 3.3.8.9 |
void |
the_activator(AdapterActivator activator)
the_activator Section 3.3.8.9 |
POA[] |
the_children()
the_children |
String |
the_name()
the_name Section 3.3.8.6 |
POA |
the_parent()
the_parent Section 3.3.8.7 |
POAManager |
the_POAManager()
the_POAManager Section 3.3.8.8 |
String |
toString() |
getAdapterId, getAdapterTemplate, getCurrentFactory, getIORTemplate, getORB, initializeTemplate, invocationWrapper, iorWrapper, lifecycleWrapper, makeInvocationInfo, makeObject, omgInvocationWrapper, omgLifecycleWrapper, setCurrentFactory_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_connectionclone, 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_overrideprotected ThreadLocal<Object> isDestroying
public POA create_POA(String name, POAManager theManager, Policy[] policies) throws AdapterAlreadyExists, InvalidPolicy
create_POA Section 3.3.8.2create_POA in interface POAOperationsAdapterAlreadyExistsInvalidPolicypublic POA find_POA(String name, boolean activate) throws AdapterNonExistent
find_POA Section 3.3.8.3find_POA in interface POAOperationsAdapterNonExistentpublic void destroy(boolean etherealize,
boolean wait_for_completion)
destroy Section 3.3.8.4destroy in interface POAOperationspublic ThreadPolicy create_thread_policy(ThreadPolicyValue value)
create_thread_policy Section 3.3.8.5create_thread_policy in interface POAOperationspublic LifespanPolicy create_lifespan_policy(LifespanPolicyValue value)
create_lifespan_policy Section 3.3.8.5create_lifespan_policy in interface POAOperationspublic IdUniquenessPolicy create_id_uniqueness_policy(IdUniquenessPolicyValue value)
create_id_uniqueness_policy Section 3.3.8.5create_id_uniqueness_policy in interface POAOperationspublic IdAssignmentPolicy create_id_assignment_policy(IdAssignmentPolicyValue value)
create_id_assignment_policy Section 3.3.8.5create_id_assignment_policy in interface POAOperationspublic ImplicitActivationPolicy create_implicit_activation_policy(ImplicitActivationPolicyValue value)
create_implicit_activation_policy Section 3.3.8.5create_implicit_activation_policy in interface POAOperationspublic ServantRetentionPolicy create_servant_retention_policy(ServantRetentionPolicyValue value)
create_servant_retention_policy Section 3.3.8.5create_servant_retention_policy in interface POAOperationspublic RequestProcessingPolicy create_request_processing_policy(RequestProcessingPolicyValue value)
create_request_processing_policy Section 3.3.8.5create_request_processing_policy in interface POAOperationspublic String the_name()
the_name Section 3.3.8.6the_name in interface POAOperationspublic POA the_parent()
the_parent Section 3.3.8.7the_parent in interface POAOperationspublic POA[] the_children()
the_childrenthe_children in interface POAOperationspublic POAManager the_POAManager()
the_POAManager Section 3.3.8.8the_POAManager in interface POAOperationspublic AdapterActivator the_activator()
the_activator Section 3.3.8.9the_activator in interface POAOperationspublic void the_activator(AdapterActivator activator)
the_activator Section 3.3.8.9the_activator in interface POAOperationspublic ServantManager get_servant_manager() throws WrongPolicy
get_servant_manager Section 3.3.8.10get_servant_manager in interface POAOperationsWrongPolicypublic void set_servant_manager(ServantManager servantManager) throws WrongPolicy
set_servant_manager Section 3.3.8.10set_servant_manager in interface POAOperationsWrongPolicypublic Servant get_servant() throws NoServant, WrongPolicy
get_servant Section 3.3.8.12get_servant in interface POAOperationsNoServantWrongPolicypublic void set_servant(Servant defaultServant) throws WrongPolicy
set_servant Section 3.3.8.13set_servant in interface POAOperationsWrongPolicypublic byte[] activate_object(Servant servant) throws ServantAlreadyActive, WrongPolicy
activate_object Section 3.3.8.14activate_object in interface POAOperationsServantAlreadyActiveWrongPolicypublic void activate_object_with_id(byte[] id,
Servant servant)
throws ObjectAlreadyActive,
ServantAlreadyActive,
WrongPolicy
activate_object_with_id Section 3.3.8.15activate_object_with_id in interface POAOperationsObjectAlreadyActiveServantAlreadyActiveWrongPolicypublic void deactivate_object(byte[] id)
throws ObjectNotActive,
WrongPolicy
deactivate_object 3.3.8.16deactivate_object in interface POAOperationsObjectNotActiveWrongPolicypublic Object create_reference(String repId) throws WrongPolicy
create_reference 3.3.8.17create_reference in interface POAOperationsWrongPolicypublic Object create_reference_with_id(byte[] oid, String repId)
create_reference_with_id 3.3.8.18create_reference_with_id in interface POAOperationspublic byte[] servant_to_id(Servant servant) throws ServantNotActive, WrongPolicy
servant_to_id 3.3.8.19servant_to_id in interface POAOperationsServantNotActiveWrongPolicypublic Object servant_to_reference(Servant servant) throws ServantNotActive, WrongPolicy
servant_to_reference 3.3.8.20servant_to_reference in interface POAOperationsServantNotActiveWrongPolicypublic Servant reference_to_servant(Object reference) throws ObjectNotActive, WrongPolicy, WrongAdapter
reference_to_servant 3.3.8.21reference_to_servant in interface POAOperationsObjectNotActiveWrongPolicyWrongAdapterpublic byte[] reference_to_id(Object reference) throws WrongAdapter, WrongPolicy
reference_to_id 3.3.8.22reference_to_id in interface POAOperationsWrongAdapterWrongPolicypublic Servant id_to_servant(byte[] id) throws ObjectNotActive, WrongPolicy
id_to_servant 3.3.8.23id_to_servant in interface POAOperationsObjectNotActiveWrongPolicypublic Object id_to_reference(byte[] id) throws ObjectNotActive, WrongPolicy
id_to_reference 3.3.8.24id_to_reference in interface POAOperationsObjectNotActiveWrongPolicypublic byte[] id()
id 11.3.8.26 in ptc/00-08-06id in interface POAOperationspublic Policy getEffectivePolicy(int type)
getEffectivePolicy in interface ObjectAdaptergetEffectivePolicy in class ObjectAdapterBasepublic int getManagerId()
ObjectAdaptergetManagerId in interface ObjectAdaptergetManagerId in class ObjectAdapterBasepublic short getState()
ObjectAdaptergetState in interface ObjectAdaptergetState in class ObjectAdapterBasepublic String[] getInterfaces(Object servant, byte[] objectId)
ObjectAdaptergetInterfaces in interface ObjectAdaptergetInterfaces in class ObjectAdapterBaseprotected ObjectCopierFactory getObjectCopierFactory()
getObjectCopierFactory in class ObjectAdapterBasepublic void enter()
throws OADestroyed
ObjectAdapterenter in interface ObjectAdapterenter in class ObjectAdapterBaseOADestroyed - is thrown when an OA has been destroyed, which requires a retry in the case where an
AdapterActivator is present.public void exit()
ObjectAdapterexit in interface ObjectAdapterexit in class ObjectAdapterBasepublic void getInvocationServant(OAInvocationInfo info)
ObjectAdaptergetInvocationServant in interface ObjectAdaptergetInvocationServant in class ObjectAdapterBaseinfo - is the InvocationInfo object for the object referencepublic Object getLocalServant(byte[] objectId)
ObjectAdaptergetLocalServant in interface ObjectAdaptergetLocalServant in class ObjectAdapterBasepublic void returnServant()
returnServant in interface ObjectAdapterreturnServant in class ObjectAdapterBaseCopyright © 2012 JBoss by Red Hat. All Rights Reserved.