quamj.qps.registration
Class QOA_impl

java.lang.Object
  |
  +--org.omg.CORBA.LocalObject
        |
        +--quamj.qps.registration.QOA_impl
All Implemented Interfaces:
org.omg.CORBA.Object

public class QOA_impl
extends org.omg.CORBA.LocalObject

Version:
$Id: QOA_impl.java,v 1.10 2002/10/30 15:43:14 kris_tz Exp $
Author:
Christian Tzolov <tzolov@cs.utwente.nl>

Constructor Summary
QOA_impl()
           
 
Method Summary
 void _initialization(org.omg.CORBA.ORB orb)
           
 void activate_object_with_id(byte[] id, org.omg.PortableServer.Servant p_servant)
           
 byte[] activate_object(org.omg.PortableServer.Servant p_servant)
           
 void add_servant_agreement(N_S_ID_TYPE n_s_id, ServantAgreement sagr)
           
 org.omg.PortableServer.IdAssignmentPolicy create_id_assignment_policy(org.omg.PortableServer.IdAssignmentPolicyValue value)
           
 org.omg.PortableServer.IdUniquenessPolicy create_id_uniqueness_policy(org.omg.PortableServer.IdUniquenessPolicyValue value)
           
 org.omg.PortableServer.ImplicitActivationPolicy create_implicit_activation_policy(org.omg.PortableServer.ImplicitActivationPolicyValue value)
           
 org.omg.PortableServer.LifespanPolicy create_lifespan_policy(org.omg.PortableServer.LifespanPolicyValue value)
           
 org.omg.PortableServer.POA create_POA(java.lang.String adapter_name, org.omg.PortableServer.POAManager a_POAManager, org.omg.CORBA.Policy[] policies)
           
 org.omg.CORBA.Object create_reference_with_id(byte[] oid, java.lang.String intf)
           
 org.omg.CORBA.Object create_reference(java.lang.String intf)
           
 org.omg.PortableServer.RequestProcessingPolicy create_request_processing_policy(org.omg.PortableServer.RequestProcessingPolicyValue value)
           
 org.omg.PortableServer.ServantRetentionPolicy create_servant_retention_policy(org.omg.PortableServer.ServantRetentionPolicyValue value)
           
 org.omg.PortableServer.ThreadPolicy create_thread_policy(org.omg.PortableServer.ThreadPolicyValue value)
           
 void deactivate_object(byte[] oid)
           
 void destroy(boolean etherealize_objects, boolean wait_for_completion)
           
 org.omg.PortableServer.POA find_POA(java.lang.String adapter_name, boolean activate_it)
           
 ServantAgreement get_servant_agreement(N_S_ID_TYPE n_s_id)
           
 org.omg.PortableServer.ServantManager get_servant_manager()
           
 org.omg.PortableServer.Servant get_servant()
           
 org.omg.CORBA.Object id_to_reference(byte[] oid)
           
 org.omg.PortableServer.Servant id_to_servant(byte[] oid)
           
 byte[] reference_to_id(org.omg.CORBA.Object reference)
           
 org.omg.PortableServer.Servant reference_to_servant(org.omg.CORBA.Object reference)
           
 void remove_servant_agreement(N_S_ID_TYPE n_s_id)
           
 byte[] servant_to_id(org.omg.PortableServer.Servant p_servant)
           
 org.omg.CORBA.Object servant_to_reference(org.omg.PortableServer.Servant p_servant)
           
 void set_offered_qos_for_id(byte[] oid, java.lang.String offered_qos)
           
 void set_servant_manager(org.omg.PortableServer.ServantManager imgr)
           
 void set_servant(org.omg.PortableServer.Servant p_servant)
           
 org.omg.PortableServer.AdapterActivator the_activator()
           
 void the_activator(org.omg.PortableServer.AdapterActivator _val)
           
 org.omg.PortableServer.POA[] the_children()
           
 java.lang.String the_name()
           
 org.omg.PortableServer.POA the_parent()
           
 org.omg.PortableServer.POAManager the_POAManager()
           
 
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
 

Constructor Detail

QOA_impl

public QOA_impl()
Method Detail

create_POA

public org.omg.PortableServer.POA create_POA(java.lang.String adapter_name,
                                             org.omg.PortableServer.POAManager a_POAManager,
                                             org.omg.CORBA.Policy[] policies)
                                      throws org.omg.PortableServer.POAPackage.AdapterAlreadyExists,
                                             org.omg.PortableServer.POAPackage.InvalidPolicy
org.omg.PortableServer.POAPackage.AdapterAlreadyExists
org.omg.PortableServer.POAPackage.InvalidPolicy

find_POA

public org.omg.PortableServer.POA find_POA(java.lang.String adapter_name,
                                           boolean activate_it)
                                    throws org.omg.PortableServer.POAPackage.AdapterNonExistent
org.omg.PortableServer.POAPackage.AdapterNonExistent

destroy

public void destroy(boolean etherealize_objects,
                    boolean wait_for_completion)

create_thread_policy

public org.omg.PortableServer.ThreadPolicy create_thread_policy(org.omg.PortableServer.ThreadPolicyValue value)

create_lifespan_policy

public org.omg.PortableServer.LifespanPolicy create_lifespan_policy(org.omg.PortableServer.LifespanPolicyValue value)

create_id_uniqueness_policy

public org.omg.PortableServer.IdUniquenessPolicy create_id_uniqueness_policy(org.omg.PortableServer.IdUniquenessPolicyValue value)

create_id_assignment_policy

public org.omg.PortableServer.IdAssignmentPolicy create_id_assignment_policy(org.omg.PortableServer.IdAssignmentPolicyValue value)

create_implicit_activation_policy

public org.omg.PortableServer.ImplicitActivationPolicy create_implicit_activation_policy(org.omg.PortableServer.ImplicitActivationPolicyValue value)

create_servant_retention_policy

public org.omg.PortableServer.ServantRetentionPolicy create_servant_retention_policy(org.omg.PortableServer.ServantRetentionPolicyValue value)

create_request_processing_policy

public org.omg.PortableServer.RequestProcessingPolicy create_request_processing_policy(org.omg.PortableServer.RequestProcessingPolicyValue value)

the_name

public java.lang.String the_name()

the_parent

public org.omg.PortableServer.POA the_parent()

the_children

public org.omg.PortableServer.POA[] the_children()

the_POAManager

public org.omg.PortableServer.POAManager the_POAManager()

the_activator

public org.omg.PortableServer.AdapterActivator the_activator()

the_activator

public void the_activator(org.omg.PortableServer.AdapterActivator _val)

get_servant_manager

public org.omg.PortableServer.ServantManager get_servant_manager()
                                                          throws org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.WrongPolicy

set_servant_manager

public void set_servant_manager(org.omg.PortableServer.ServantManager imgr)
                         throws org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.WrongPolicy

get_servant

public org.omg.PortableServer.Servant get_servant()
                                           throws org.omg.PortableServer.POAPackage.NoServant,
                                                  org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.NoServant
org.omg.PortableServer.POAPackage.WrongPolicy

set_servant

public void set_servant(org.omg.PortableServer.Servant p_servant)
                 throws org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.WrongPolicy

activate_object

public byte[] activate_object(org.omg.PortableServer.Servant p_servant)
                       throws org.omg.PortableServer.POAPackage.ServantAlreadyActive,
                              org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.ServantAlreadyActive
org.omg.PortableServer.POAPackage.WrongPolicy

activate_object_with_id

public void activate_object_with_id(byte[] id,
                                    org.omg.PortableServer.Servant p_servant)
                             throws org.omg.PortableServer.POAPackage.ServantAlreadyActive,
                                    org.omg.PortableServer.POAPackage.ObjectAlreadyActive,
                                    org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.ServantAlreadyActive
org.omg.PortableServer.POAPackage.ObjectAlreadyActive
org.omg.PortableServer.POAPackage.WrongPolicy

deactivate_object

public void deactivate_object(byte[] oid)
                       throws org.omg.PortableServer.POAPackage.ObjectNotActive,
                              org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.ObjectNotActive
org.omg.PortableServer.POAPackage.WrongPolicy

create_reference

public org.omg.CORBA.Object create_reference(java.lang.String intf)
                                      throws org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.WrongPolicy

create_reference_with_id

public org.omg.CORBA.Object create_reference_with_id(byte[] oid,
                                                     java.lang.String intf)

servant_to_id

public byte[] servant_to_id(org.omg.PortableServer.Servant p_servant)
                     throws org.omg.PortableServer.POAPackage.ServantNotActive,
                            org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.ServantNotActive
org.omg.PortableServer.POAPackage.WrongPolicy

servant_to_reference

public org.omg.CORBA.Object servant_to_reference(org.omg.PortableServer.Servant p_servant)
                                          throws org.omg.PortableServer.POAPackage.ServantNotActive,
                                                 org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.ServantNotActive
org.omg.PortableServer.POAPackage.WrongPolicy

reference_to_servant

public org.omg.PortableServer.Servant reference_to_servant(org.omg.CORBA.Object reference)
                                                    throws org.omg.PortableServer.POAPackage.ObjectNotActive,
                                                           org.omg.PortableServer.POAPackage.WrongAdapter,
                                                           org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.ObjectNotActive
org.omg.PortableServer.POAPackage.WrongAdapter
org.omg.PortableServer.POAPackage.WrongPolicy

reference_to_id

public byte[] reference_to_id(org.omg.CORBA.Object reference)
                       throws org.omg.PortableServer.POAPackage.WrongAdapter,
                              org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.WrongAdapter
org.omg.PortableServer.POAPackage.WrongPolicy

id_to_servant

public org.omg.PortableServer.Servant id_to_servant(byte[] oid)
                                             throws org.omg.PortableServer.POAPackage.ObjectNotActive,
                                                    org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.ObjectNotActive
org.omg.PortableServer.POAPackage.WrongPolicy

id_to_reference

public org.omg.CORBA.Object id_to_reference(byte[] oid)
                                     throws org.omg.PortableServer.POAPackage.ObjectNotActive,
                                            org.omg.PortableServer.POAPackage.WrongPolicy
org.omg.PortableServer.POAPackage.ObjectNotActive
org.omg.PortableServer.POAPackage.WrongPolicy

set_offered_qos_for_id

public void set_offered_qos_for_id(byte[] oid,
                                   java.lang.String offered_qos)
                            throws quamj.qps.QOAException
quamj.qps.QOAException

get_servant_agreement

public ServantAgreement get_servant_agreement(N_S_ID_TYPE n_s_id)
                                       throws InvalidSessionIDException
InvalidSessionIDException

add_servant_agreement

public void add_servant_agreement(N_S_ID_TYPE n_s_id,
                                  ServantAgreement sagr)
                           throws InvalidSessionIDException
InvalidSessionIDException

remove_servant_agreement

public void remove_servant_agreement(N_S_ID_TYPE n_s_id)
                              throws InvalidSessionIDException
InvalidSessionIDException

_initialization

public void _initialization(org.omg.CORBA.ORB orb)
                     throws quamj.qps.QOAException
quamj.qps.QOAException