org.apache.yoko.orb.OBPortableServer
Class POA_impl
java.lang.Object
org.omg.CORBA.LocalObject
org.apache.yoko.orb.OBPortableServer.POA_impl
- All Implemented Interfaces:
- Serializable, Object, IDLEntity, POA, POAOperations
public final class POA_impl
- extends LocalObject
- implements POA
- See Also:
- Serialized Form
Method Summary |
void |
_OB_addPolicyFactory()
|
void |
_OB_decrementRequestCount()
|
void |
_OB_destroy(boolean etherealize,
boolean waitForCompletion,
Vector templates)
|
void |
_OB_dispatch(byte[] oid,
Upcall upcall)
|
void |
_OB_etherealize(POAManager_impl manager)
|
boolean |
_OB_incrementRequestCount()
|
ORBInstance |
_OB_ORBInstance()
|
Current_impl |
_OB_POACurrent()
|
void |
_OB_postinvoke()
|
void |
_OB_preinvoke(String op,
byte[] oid,
Servant servant,
Object cookie,
TransportInfo info)
|
void |
_OB_removeDirectServant(byte[] oid,
DirectServant directServant)
|
void |
_OB_validateManagerState()
|
void |
_OB_waitPendingRequests()
|
void |
activate_object_with_id(byte[] oid,
Servant servant)
|
byte[] |
activate_object(Servant servant)
|
ObjectReferenceTemplate |
adapter_template()
Retrieve the Primary Object Reference Template |
DispatchStrategyPolicy |
create_dispatch_strategy_policy(DispatchStrategy value)
Create a dispatch strategy policy |
IdAssignmentPolicy |
create_id_assignment_policy(IdAssignmentPolicyValue value)
|
IdUniquenessPolicy |
create_id_uniqueness_policy(IdUniquenessPolicyValue value)
|
ImplicitActivationPolicy |
create_implicit_activation_policy(ImplicitActivationPolicyValue value)
|
LifespanPolicy |
create_lifespan_policy(LifespanPolicyValue value)
|
POA |
create_POA(String adapter,
POAManager manager,
Policy[] rawPolicies)
|
Object |
create_reference_with_id(byte[] oid,
String intf)
|
Object |
create_reference(String intf)
|
RequestProcessingPolicy |
create_request_processing_policy(RequestProcessingPolicyValue value)
|
ServantRetentionPolicy |
create_servant_retention_policy(ServantRetentionPolicyValue value)
|
SynchronizationPolicy |
create_synchronization_policy(SynchronizationPolicyValue value)
Create a synchronization policy |
ThreadPolicy |
create_thread_policy(ThreadPolicyValue value)
|
ObjectReferenceFactory |
current_factory()
Retrieve the Secondary Object Reference Template |
void |
deactivate_object(byte[] oid)
|
void |
destroy(boolean etherealize,
boolean waitForCompletion)
|
protected void |
finalize()
|
POA |
find_POA(String adapter,
boolean activate)
|
ServantManager |
get_servant_manager()
|
Servant |
get_servant()
|
Object |
id_to_reference(byte[] oid)
|
Servant |
id_to_servant(byte[] oid)
|
byte[] |
id()
|
void |
notifyRouters(boolean activate,
byte[] oid)
|
byte[] |
reference_to_id(Object reference)
|
Servant |
reference_to_servant(Object reference)
|
byte[] |
servant_to_id(Servant servant)
|
Object |
servant_to_reference(Servant servant)
|
void |
set_servant_manager(ServantManager mgr)
|
void |
set_servant(Servant servant)
|
AdapterActivator |
the_activator()
|
void |
the_activator(AdapterActivator activator)
|
POA[] |
the_children()
|
DispatchStrategy |
the_dispatch_strategy()
Determine the DispatchStrategy in use by this POA |
String |
the_name()
|
ORB |
the_ORB()
Retrieve the ORB on which the POA was created |
POA |
the_parent()
|
POAManager |
the_POAManager()
|
POAManagerFactory |
the_POAManagerFactory()
|
Policy[] |
the_policies()
Determine the policies that this POA was created with |
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 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 |
POA_impl
public POA_impl(ORB orb,
ORBInstance orbInstance,
String name,
POAManager manager)
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize
in class Object
- Throws:
Throwable
create_POA
public POA create_POA(String adapter,
POAManager manager,
Policy[] rawPolicies)
throws AdapterAlreadyExists,
InvalidPolicy
- Specified by:
create_POA
in interface POAOperations
- Throws:
AdapterAlreadyExists
InvalidPolicy
find_POA
public POA find_POA(String adapter,
boolean activate)
throws AdapterNonExistent
- Specified by:
find_POA
in interface POAOperations
- Throws:
AdapterNonExistent
destroy
public void destroy(boolean etherealize,
boolean waitForCompletion)
- Specified by:
destroy
in interface POAOperations
create_thread_policy
public ThreadPolicy create_thread_policy(ThreadPolicyValue value)
- Specified by:
create_thread_policy
in interface POAOperations
create_lifespan_policy
public LifespanPolicy create_lifespan_policy(LifespanPolicyValue value)
- Specified by:
create_lifespan_policy
in interface POAOperations
create_id_uniqueness_policy
public IdUniquenessPolicy create_id_uniqueness_policy(IdUniquenessPolicyValue value)
- Specified by:
create_id_uniqueness_policy
in interface POAOperations
create_id_assignment_policy
public IdAssignmentPolicy create_id_assignment_policy(IdAssignmentPolicyValue value)
- Specified by:
create_id_assignment_policy
in interface POAOperations
create_implicit_activation_policy
public ImplicitActivationPolicy create_implicit_activation_policy(ImplicitActivationPolicyValue value)
- Specified by:
create_implicit_activation_policy
in interface POAOperations
create_servant_retention_policy
public ServantRetentionPolicy create_servant_retention_policy(ServantRetentionPolicyValue value)
- Specified by:
create_servant_retention_policy
in interface POAOperations
create_request_processing_policy
public RequestProcessingPolicy create_request_processing_policy(RequestProcessingPolicyValue value)
- Specified by:
create_request_processing_policy
in interface POAOperations
create_synchronization_policy
public SynchronizationPolicy create_synchronization_policy(SynchronizationPolicyValue value)
- Description copied from interface:
POAOperations
- Create a synchronization policy
- Parameters:
value
- The SynchronizationPolicyValue
- Returns:
- A new SynchronizationPolicy
create_dispatch_strategy_policy
public DispatchStrategyPolicy create_dispatch_strategy_policy(DispatchStrategy value)
- Description copied from interface:
POAOperations
- Create a dispatch strategy policy
- Parameters:
value
- The DispatchStrategyPolicy
- Returns:
- A new DisptachStrategy
the_name
public String the_name()
- Specified by:
the_name
in interface POAOperations
the_parent
public POA the_parent()
- Specified by:
the_parent
in interface POAOperations
the_children
public POA[] the_children()
- Specified by:
the_children
in interface POAOperations
the_POAManager
public POAManager the_POAManager()
- Specified by:
the_POAManager
in interface POAOperations
the_POAManagerFactory
public POAManagerFactory the_POAManagerFactory()
- Specified by:
the_POAManagerFactory
in interface POAOperations
the_activator
public AdapterActivator the_activator()
- Specified by:
the_activator
in interface POAOperations
the_activator
public void the_activator(AdapterActivator activator)
- Specified by:
the_activator
in interface POAOperations
the_policies
public Policy[] the_policies()
- Description copied from interface:
POAOperations
- Determine the policies that this POA was created with
the_dispatch_strategy
public DispatchStrategy the_dispatch_strategy()
- Description copied from interface:
POAOperations
- Determine the DispatchStrategy in use by this POA
adapter_template
public ObjectReferenceTemplate adapter_template()
- Description copied from interface:
POAOperations
- Retrieve the Primary Object Reference Template
current_factory
public ObjectReferenceFactory current_factory()
- Description copied from interface:
POAOperations
- Retrieve the Secondary Object Reference Template
the_ORB
public ORB the_ORB()
- Description copied from interface:
POAOperations
- Retrieve the ORB on which the POA was created
get_servant_manager
public ServantManager get_servant_manager()
throws WrongPolicy
- Specified by:
get_servant_manager
in interface POAOperations
- Throws:
WrongPolicy
set_servant_manager
public void set_servant_manager(ServantManager mgr)
throws WrongPolicy
- Specified by:
set_servant_manager
in interface POAOperations
- Throws:
WrongPolicy
get_servant
public Servant get_servant()
throws NoServant,
WrongPolicy
- Specified by:
get_servant
in interface POAOperations
- Throws:
NoServant
WrongPolicy
set_servant
public void set_servant(Servant servant)
throws WrongPolicy
- Specified by:
set_servant
in interface POAOperations
- Throws:
WrongPolicy
activate_object
public byte[] activate_object(Servant servant)
throws ServantAlreadyActive,
WrongPolicy
- Specified by:
activate_object
in interface POAOperations
- Throws:
ServantAlreadyActive
WrongPolicy
notifyRouters
public void notifyRouters(boolean activate,
byte[] oid)
activate_object_with_id
public void activate_object_with_id(byte[] oid,
Servant servant)
throws ServantAlreadyActive,
ObjectAlreadyActive,
WrongPolicy
- Specified by:
activate_object_with_id
in interface POAOperations
- Throws:
ServantAlreadyActive
ObjectAlreadyActive
WrongPolicy
deactivate_object
public void deactivate_object(byte[] oid)
throws ObjectNotActive,
WrongPolicy
- Specified by:
deactivate_object
in interface POAOperations
- Throws:
ObjectNotActive
WrongPolicy
create_reference
public Object create_reference(String intf)
throws WrongPolicy
- Specified by:
create_reference
in interface POAOperations
- Throws:
WrongPolicy
create_reference_with_id
public Object create_reference_with_id(byte[] oid,
String intf)
- Specified by:
create_reference_with_id
in interface POAOperations
servant_to_id
public byte[] servant_to_id(Servant servant)
throws ServantNotActive,
WrongPolicy
- Specified by:
servant_to_id
in interface POAOperations
- Throws:
ServantNotActive
WrongPolicy
servant_to_reference
public Object servant_to_reference(Servant servant)
throws ServantNotActive,
WrongPolicy
- Specified by:
servant_to_reference
in interface POAOperations
- Throws:
ServantNotActive
WrongPolicy
reference_to_servant
public Servant reference_to_servant(Object reference)
throws ObjectNotActive,
WrongAdapter,
WrongPolicy
- Specified by:
reference_to_servant
in interface POAOperations
- Throws:
ObjectNotActive
WrongAdapter
WrongPolicy
reference_to_id
public byte[] reference_to_id(Object reference)
throws WrongAdapter,
WrongPolicy
- Specified by:
reference_to_id
in interface POAOperations
- Throws:
WrongAdapter
WrongPolicy
id_to_servant
public Servant id_to_servant(byte[] oid)
throws ObjectNotActive,
WrongPolicy
- Specified by:
id_to_servant
in interface POAOperations
- Throws:
ObjectNotActive
WrongPolicy
id_to_reference
public Object id_to_reference(byte[] oid)
throws ObjectNotActive,
WrongPolicy
- Specified by:
id_to_reference
in interface POAOperations
- Throws:
ObjectNotActive
WrongPolicy
id
public byte[] id()
- Specified by:
id
in interface POAOperations
_OB_preinvoke
public void _OB_preinvoke(String op,
byte[] oid,
Servant servant,
Object cookie,
TransportInfo info)
_OB_postinvoke
public void _OB_postinvoke()
_OB_dispatch
public void _OB_dispatch(byte[] oid,
Upcall upcall)
_OB_POACurrent
public Current_impl _OB_POACurrent()
_OB_removeDirectServant
public void _OB_removeDirectServant(byte[] oid,
DirectServant directServant)
_OB_incrementRequestCount
public boolean _OB_incrementRequestCount()
_OB_decrementRequestCount
public void _OB_decrementRequestCount()
_OB_waitPendingRequests
public void _OB_waitPendingRequests()
_OB_ORBInstance
public ORBInstance _OB_ORBInstance()
_OB_addPolicyFactory
public void _OB_addPolicyFactory()
_OB_validateManagerState
public void _OB_validateManagerState()
_OB_etherealize
public void _OB_etherealize(POAManager_impl manager)
_OB_destroy
public void _OB_destroy(boolean etherealize,
boolean waitForCompletion,
Vector templates)
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.