org.openorb.trader.kernel
Class Lookup

java.lang.Object
  |
  +--org.omg.PortableServer.Servant
        |
        +--org.omg.CosTrading.LookupPOA
              |
              +--org.openorb.trader.kernel.Lookup
All Implemented Interfaces:
ImportAttributesOperations, org.omg.CORBA.portable.InvokeHandler, org.apache.avalon.framework.logger.LogEnabled, LookupOperations, SupportAttributesOperations, TraderComponentsOperations

public class Lookup
extends LookupPOA
implements org.apache.avalon.framework.logger.LogEnabled

This class provides an implementation of the lookup interface.

Author:
Jerome Daniel

Constructor Summary
Lookup(Kernel kernel)
           
 
Method Summary
 Admin admin_if()
          Read accessor for admin_if attribute
 FollowOption def_follow_policy()
          Read accessor for def_follow_policy attribute
 int def_hop_count()
          Read accessor for def_hop_count attribute
 int def_match_card()
          Read accessor for def_match_card attribute
 int def_return_card()
          Read accessor for def_return_card attribute
 int def_search_card()
          Read accessor for def_search_card attribute
 void enableLogging(org.apache.avalon.framework.logger.Logger logger)
           
 org.apache.avalon.framework.logger.Logger getLogger()
           
 Link link_if()
          Read accessor for link_if attribute
 Lookup lookup_if()
          Read accessor for lookup_if attribute
 FollowOption max_follow_policy()
          Read accessor for max_follow_policy attribute
 int max_hop_count()
          Read accessor for max_hop_count attribute
 FollowOption max_link_follow_policy()
           
 int max_list()
          Read accessor for max_list attribute
 int max_match_card()
          Read accessor for max_match_card attribute
 int max_return_card()
          Read accessor for max_return_card attribute
 int max_search_card()
          Read accessor for max_search_card attribute
 Proxy proxy_if()
          Read accessor for proxy_if attribute
 void query(java.lang.String type, java.lang.String constr, java.lang.String pref, Policy[] policies, SpecifiedProps desired_props, int how_many, OfferSeqHolder the_offers, OfferIteratorHolder offer_itr, PolicyNameSeqHolder limits_applied)
          This operation is used to query amongs trader offers ( and proxy offers ).
 Register register_if()
          Read accessor for register_if attribute
 boolean supports_dynamic_properties()
          Read accessor for supports_dynamic_properties attribute
 boolean supports_modifiable_properties()
          Read accessor for supports_modifiable_properties attribute
 boolean supports_proxy_offers()
          Read accessor for supports_proxy_offers attribute
 org.omg.CORBA.Object type_repos()
          Read accessor for type_repos attribute
 
Methods inherited from class org.omg.CosTrading.LookupPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lookup

public Lookup(Kernel kernel)
Method Detail

enableLogging

public void enableLogging(org.apache.avalon.framework.logger.Logger logger)
Specified by:
enableLogging in interface org.apache.avalon.framework.logger.LogEnabled

getLogger

public org.apache.avalon.framework.logger.Logger getLogger()

query

public void query(java.lang.String type,
                  java.lang.String constr,
                  java.lang.String pref,
                  Policy[] policies,
                  SpecifiedProps desired_props,
                  int how_many,
                  OfferSeqHolder the_offers,
                  OfferIteratorHolder offer_itr,
                  PolicyNameSeqHolder limits_applied)
           throws IllegalServiceType,
                  UnknownServiceType,
                  IllegalConstraint,
                  IllegalPreference,
                  IllegalPolicyName,
                  PolicyTypeMismatch,
                  InvalidPolicyValue,
                  IllegalPropertyName,
                  DuplicatePropertyName,
                  DuplicatePolicyName
This operation is used to query amongs trader offers ( and proxy offers ).

lookup_if

public Lookup lookup_if()
Description copied from interface: TraderComponentsOperations
Read accessor for lookup_if attribute
Following copied from interface: org.omg.CosTrading.TraderComponentsOperations
Returns:
the attribute value

register_if

public Register register_if()
Description copied from interface: TraderComponentsOperations
Read accessor for register_if attribute
Following copied from interface: org.omg.CosTrading.TraderComponentsOperations
Returns:
the attribute value

link_if

public Link link_if()
Description copied from interface: TraderComponentsOperations
Read accessor for link_if attribute
Following copied from interface: org.omg.CosTrading.TraderComponentsOperations
Returns:
the attribute value

proxy_if

public Proxy proxy_if()
Description copied from interface: TraderComponentsOperations
Read accessor for proxy_if attribute
Following copied from interface: org.omg.CosTrading.TraderComponentsOperations
Returns:
the attribute value

admin_if

public Admin admin_if()
Description copied from interface: TraderComponentsOperations
Read accessor for admin_if attribute
Following copied from interface: org.omg.CosTrading.TraderComponentsOperations
Returns:
the attribute value

supports_modifiable_properties

public boolean supports_modifiable_properties()
Description copied from interface: SupportAttributesOperations
Read accessor for supports_modifiable_properties attribute
Following copied from interface: org.omg.CosTrading.SupportAttributesOperations
Returns:
the attribute value

supports_dynamic_properties

public boolean supports_dynamic_properties()
Description copied from interface: SupportAttributesOperations
Read accessor for supports_dynamic_properties attribute
Following copied from interface: org.omg.CosTrading.SupportAttributesOperations
Returns:
the attribute value

supports_proxy_offers

public boolean supports_proxy_offers()
Description copied from interface: SupportAttributesOperations
Read accessor for supports_proxy_offers attribute
Following copied from interface: org.omg.CosTrading.SupportAttributesOperations
Returns:
the attribute value

type_repos

public org.omg.CORBA.Object type_repos()
Description copied from interface: SupportAttributesOperations
Read accessor for type_repos attribute
Following copied from interface: org.omg.CosTrading.SupportAttributesOperations
Returns:
the attribute value

def_search_card

public int def_search_card()
Description copied from interface: ImportAttributesOperations
Read accessor for def_search_card attribute
Following copied from interface: org.omg.CosTrading.ImportAttributesOperations
Returns:
the attribute value

max_search_card

public int max_search_card()
Description copied from interface: ImportAttributesOperations
Read accessor for max_search_card attribute
Following copied from interface: org.omg.CosTrading.ImportAttributesOperations
Returns:
the attribute value

def_match_card

public int def_match_card()
Description copied from interface: ImportAttributesOperations
Read accessor for def_match_card attribute
Following copied from interface: org.omg.CosTrading.ImportAttributesOperations
Returns:
the attribute value

max_match_card

public int max_match_card()
Description copied from interface: ImportAttributesOperations
Read accessor for max_match_card attribute
Following copied from interface: org.omg.CosTrading.ImportAttributesOperations
Returns:
the attribute value

def_return_card

public int def_return_card()
Description copied from interface: ImportAttributesOperations
Read accessor for def_return_card attribute
Following copied from interface: org.omg.CosTrading.ImportAttributesOperations
Returns:
the attribute value

max_return_card

public int max_return_card()
Description copied from interface: ImportAttributesOperations
Read accessor for max_return_card attribute
Following copied from interface: org.omg.CosTrading.ImportAttributesOperations
Returns:
the attribute value

max_list

public int max_list()
Description copied from interface: ImportAttributesOperations
Read accessor for max_list attribute
Following copied from interface: org.omg.CosTrading.ImportAttributesOperations
Returns:
the attribute value

def_hop_count

public int def_hop_count()
Description copied from interface: ImportAttributesOperations
Read accessor for def_hop_count attribute
Following copied from interface: org.omg.CosTrading.ImportAttributesOperations
Returns:
the attribute value

max_hop_count

public int max_hop_count()
Description copied from interface: ImportAttributesOperations
Read accessor for max_hop_count attribute
Following copied from interface: org.omg.CosTrading.ImportAttributesOperations
Returns:
the attribute value

def_follow_policy

public FollowOption def_follow_policy()
Description copied from interface: ImportAttributesOperations
Read accessor for def_follow_policy attribute
Following copied from interface: org.omg.CosTrading.ImportAttributesOperations
Returns:
the attribute value

max_follow_policy

public FollowOption max_follow_policy()
Description copied from interface: ImportAttributesOperations
Read accessor for max_follow_policy attribute
Following copied from interface: org.omg.CosTrading.ImportAttributesOperations
Returns:
the attribute value

max_link_follow_policy

public FollowOption max_link_follow_policy()