org.openorb.trader.kernel
Class Proxy

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosTrading.ProxyPOA
          extended by org.openorb.trader.kernel.Proxy
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, ProxyOperations, SupportAttributesOperations, TraderComponentsOperations

public class Proxy
extends ProxyPOA

This class provides an implementation over the PSS for the Proxy interface.

Author:
Jerome Daniel

Constructor Summary
Proxy(Kernel kernel)
           
 
Method Summary
 Admin admin_if()
          Read accessor for admin_if attribute
 ProxyInfo describe_proxy(java.lang.String id)
          Describes a proxy offer
 java.lang.String export_proxy(Lookup target, java.lang.String type, Property[] properties, boolean if_match_all, java.lang.String recipe, Policy[] policies_to_pass_on)
          Exports a proxy offer
 Link link_if()
          Read accessor for link_if attribute
 Lookup lookup_if()
          Read accessor for lookup_if attribute
 Proxy proxy_if()
          Read accessor for proxy_if attribute
 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
 void withdraw_proxy(java.lang.String id)
          Withdraws a proxy
 
Methods inherited from class org.omg.CosTrading.ProxyPOA
_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

Proxy

public Proxy(Kernel kernel)
Method Detail

export_proxy

public java.lang.String export_proxy(Lookup target,
                                     java.lang.String type,
                                     Property[] properties,
                                     boolean if_match_all,
                                     java.lang.String recipe,
                                     Policy[] policies_to_pass_on)
                              throws IllegalServiceType,
                                     UnknownServiceType,
                                     InvalidLookupRef,
                                     IllegalPropertyName,
                                     PropertyTypeMismatch,
                                     ReadonlyDynamicProperty,
                                     MissingMandatoryProperty,
                                     IllegalRecipe,
                                     DuplicatePropertyName,
                                     DuplicatePolicyName
Exports a proxy offer

Throws:
IllegalServiceType
UnknownServiceType
InvalidLookupRef
IllegalPropertyName
PropertyTypeMismatch
ReadonlyDynamicProperty
MissingMandatoryProperty
IllegalRecipe
DuplicatePropertyName
DuplicatePolicyName

withdraw_proxy

public void withdraw_proxy(java.lang.String id)
                    throws IllegalOfferId,
                           UnknownOfferId,
                           NotProxyOfferId
Withdraws a proxy

Throws:
IllegalOfferId
UnknownOfferId
NotProxyOfferId

describe_proxy

public ProxyInfo describe_proxy(java.lang.String id)
                         throws IllegalOfferId,
                                UnknownOfferId,
                                NotProxyOfferId
Describes a proxy offer

Throws:
IllegalOfferId
UnknownOfferId
NotProxyOfferId

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