org.openorb.trader.kernel
Class Kernel

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.openorb.trader.kernel.Kernel
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled

public class Kernel
extends org.apache.avalon.framework.logger.AbstractLogEnabled

This class provides all configuration information for the trader. This kernel also creates all the other parts of the trading server.

Author:
Jerome Daniel

Constructor Summary
Kernel(org.omg.CORBA.ORB orb)
           
 
Method Summary
 Admin admin_if()
           
 java.lang.String connector_prefix()
           
 FollowOption def_follow_policy()
           
 int def_hop_count()
           
 int def_match_card()
           
 int def_return_card()
           
 int def_search_card()
           
 org.omg.CORBA.Repository ir()
           
 LinkHome link_home()
           
 Link link_if()
           
 LinkRepository link_repository()
           
 Lookup lookup_if()
           
 FollowOption max_follow_policy()
           
 int max_hop_count()
           
 FollowOption max_link_follow_policy()
           
 int max_list()
           
 int max_match_card()
           
 int max_return_card()
           
 int max_search_card()
           
 OfferHome offer_home()
           
 OfferRepository offer_repository()
           
 org.omg.CORBA.ORB orb()
           
 void overload_config(java.lang.String trader_name, java.lang.String url, boolean file_persistence)
           
 Proxy proxy_if()
           
 ProxyOfferHome proxy_offer_home()
           
 Register register_if()
           
 byte[] request_id_stem()
           
 void run(org.omg.CORBA.ORB orb)
           
 FollowOption set_def_follow_policy(FollowOption policy)
           
 int set_def_hop_count(int value)
           
 int set_def_match_card(int value)
           
 int set_def_return_card(int value)
           
 int set_def_search_card(int value)
           
 FollowOption set_max_follow_policy(FollowOption policy)
           
 int set_max_hop_count(int value)
           
 FollowOption set_max_link_follow_policy(FollowOption policy)
           
 int set_max_list(int value)
           
 int set_max_match_card(int value)
           
 int set_max_return_card(int value)
           
 int set_max_search_card(int value)
           
 byte[] set_request_id_stem(byte[] stem)
           
 boolean set_supports_dynamic_properties(boolean value)
           
 boolean set_supports_modifiable_properties(boolean value)
           
 boolean set_supports_proxy_offers(boolean value)
           
 org.omg.CORBA.Object set_type_repos(org.omg.CORBA.Object repository)
           
 boolean supports_dynamic_properties()
           
 boolean supports_modifiable_properties()
           
 boolean supports_proxy_offers()
           
 java.lang.String trader_name()
           
 org.omg.CORBA.Object type_repos()
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Kernel

public Kernel(org.omg.CORBA.ORB orb)
Method Detail

run

public void run(org.omg.CORBA.ORB orb)

overload_config

public void overload_config(java.lang.String trader_name,
                            java.lang.String url,
                            boolean file_persistence)

ir

public org.omg.CORBA.Repository ir()

trader_name

public java.lang.String trader_name()

connector_prefix

public java.lang.String connector_prefix()

request_id_stem

public byte[] request_id_stem()

set_def_search_card

public int set_def_search_card(int value)

set_max_search_card

public int set_max_search_card(int value)

set_def_match_card

public int set_def_match_card(int value)

set_max_match_card

public int set_max_match_card(int value)

set_def_return_card

public int set_def_return_card(int value)

set_max_return_card

public int set_max_return_card(int value)

set_max_list

public int set_max_list(int value)

set_supports_modifiable_properties

public boolean set_supports_modifiable_properties(boolean value)

set_supports_dynamic_properties

public boolean set_supports_dynamic_properties(boolean value)

set_supports_proxy_offers

public boolean set_supports_proxy_offers(boolean value)

set_def_hop_count

public int set_def_hop_count(int value)

set_max_hop_count

public int set_max_hop_count(int value)

set_def_follow_policy

public FollowOption set_def_follow_policy(FollowOption policy)

set_max_follow_policy

public FollowOption set_max_follow_policy(FollowOption policy)

set_max_link_follow_policy

public FollowOption set_max_link_follow_policy(FollowOption policy)

set_type_repos

public org.omg.CORBA.Object set_type_repos(org.omg.CORBA.Object repository)

set_request_id_stem

public byte[] set_request_id_stem(byte[] stem)

lookup_if

public Lookup lookup_if()

register_if

public Register register_if()

link_if

public Link link_if()

proxy_if

public Proxy proxy_if()

admin_if

public Admin admin_if()

supports_modifiable_properties

public boolean supports_modifiable_properties()

supports_dynamic_properties

public boolean supports_dynamic_properties()

supports_proxy_offers

public boolean supports_proxy_offers()

type_repos

public org.omg.CORBA.Object type_repos()

def_search_card

public int def_search_card()

max_search_card

public int max_search_card()

def_match_card

public int def_match_card()

max_match_card

public int max_match_card()

def_return_card

public int def_return_card()

max_return_card

public int max_return_card()

max_list

public int max_list()

def_hop_count

public int def_hop_count()

max_hop_count

public int max_hop_count()

def_follow_policy

public FollowOption def_follow_policy()

max_follow_policy

public FollowOption max_follow_policy()

max_link_follow_policy

public FollowOption max_link_follow_policy()

link_home

public LinkHome link_home()

offer_home

public OfferHome offer_home()

proxy_offer_home

public ProxyOfferHome proxy_offer_home()

link_repository

public LinkRepository link_repository()

offer_repository

public OfferRepository offer_repository()

orb

public org.omg.CORBA.ORB orb()