org.openorb.trader.kernel
Class Link

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosTrading.LinkPOA
          extended by org.openorb.trader.kernel.Link
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, LinkAttributesOperations, LinkOperations, SupportAttributesOperations, TraderComponentsOperations

public class Link
extends LinkPOA

Author:
Jerome Daniel

Constructor Summary
Link(Kernel kernel)
           
 
Method Summary
 void add_link(java.lang.String name, Lookup target, FollowOption def_pass_on_follow_rule, FollowOption limiting_follow_rule)
          Adds a new link
 Admin admin_if()
          Read accessor for admin_if attribute
 void checkLinkName(java.lang.String name)
          Checks a link name for a trader name
 LinkInfo describe_link(java.lang.String name)
          Describes a link
 Link link_if()
          Read accessor for link_if attribute
 java.lang.String[] list_links()
          Lists all links
 Lookup lookup_if()
          Read accessor for lookup_if attribute
 FollowOption max_link_follow_policy()
          Read accessor for max_link_follow_policy attribute
 void modify_link(java.lang.String name, FollowOption def_pass_on_follow_rule, FollowOption limiting_follow_rule)
          Modifies a link
 Proxy proxy_if()
          Read accessor for proxy_if attribute
 Register register_if()
          Read accessor for register_if attribute
 void remove_link(java.lang.String name)
          Removes a link
 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.LinkPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _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

Link

public Link(Kernel kernel)
Method Detail

add_link

public void add_link(java.lang.String name,
                     Lookup target,
                     FollowOption def_pass_on_follow_rule,
                     FollowOption limiting_follow_rule)
              throws IllegalLinkName,
                     DuplicateLinkName,
                     InvalidLookupRef,
                     DefaultFollowTooPermissive,
                     LimitingFollowTooPermissive
Adds a new link

Throws:
IllegalLinkName
DuplicateLinkName
InvalidLookupRef
DefaultFollowTooPermissive
LimitingFollowTooPermissive

remove_link

public void remove_link(java.lang.String name)
                 throws IllegalLinkName,
                        UnknownLinkName
Removes a link

Throws:
IllegalLinkName
UnknownLinkName

describe_link

public LinkInfo describe_link(java.lang.String name)
                       throws IllegalLinkName,
                              UnknownLinkName
Describes a link

Throws:
IllegalLinkName
UnknownLinkName

list_links

public java.lang.String[] list_links()
Lists all links


modify_link

public void modify_link(java.lang.String name,
                        FollowOption def_pass_on_follow_rule,
                        FollowOption limiting_follow_rule)
                 throws IllegalLinkName,
                        UnknownLinkName,
                        DefaultFollowTooPermissive,
                        LimitingFollowTooPermissive
Modifies a link

Throws:
IllegalLinkName
UnknownLinkName
DefaultFollowTooPermissive
LimitingFollowTooPermissive

lookup_if

public Lookup lookup_if()
Description copied from interface: TraderComponentsOperations
Read accessor for lookup_if attribute

Returns:
the attribute value

register_if

public Register register_if()
Description copied from interface: TraderComponentsOperations
Read accessor for register_if attribute

Returns:
the attribute value

link_if

public Link link_if()
Description copied from interface: TraderComponentsOperations
Read accessor for link_if attribute

Returns:
the attribute value

proxy_if

public Proxy proxy_if()
Description copied from interface: TraderComponentsOperations
Read accessor for proxy_if attribute

Returns:
the attribute value

admin_if

public Admin admin_if()
Description copied from interface: TraderComponentsOperations
Read accessor for admin_if attribute

Returns:
the attribute value

supports_modifiable_properties

public boolean supports_modifiable_properties()
Description copied from interface: SupportAttributesOperations
Read accessor for supports_modifiable_properties attribute

Returns:
the attribute value

supports_dynamic_properties

public boolean supports_dynamic_properties()
Description copied from interface: SupportAttributesOperations
Read accessor for supports_dynamic_properties attribute

Returns:
the attribute value

supports_proxy_offers

public boolean supports_proxy_offers()
Description copied from interface: SupportAttributesOperations
Read accessor for supports_proxy_offers attribute

Returns:
the attribute value

type_repos

public org.omg.CORBA.Object type_repos()
Description copied from interface: SupportAttributesOperations
Read accessor for type_repos attribute

Returns:
the attribute value

max_link_follow_policy

public FollowOption max_link_follow_policy()
Description copied from interface: LinkAttributesOperations
Read accessor for max_link_follow_policy attribute

Returns:
the attribute value

checkLinkName

public void checkLinkName(java.lang.String name)
                   throws IllegalLinkName
Checks a link name for a trader name

Throws:
IllegalLinkName