org.openorb.trader.kernel
Class Register

java.lang.Object
  |
  +--org.omg.PortableServer.Servant
        |
        +--org.omg.CosTrading.RegisterPOA
              |
              +--org.openorb.trader.kernel.Register
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, RegisterOperations, SupportAttributesOperations, TraderComponentsOperations

public class Register
extends RegisterPOA

This class implements the Register interface for the OpenORB Trading Object Service.

Author:
Jerome Daniel

Constructor Summary
Register(Kernel kernel)
           
 
Method Summary
 Admin admin_if()
          Read accessor for admin_if attribute
 OfferInfo describe(java.lang.String id)
          Describes a service offer
 java.lang.String export(org.omg.CORBA.Object reference, java.lang.String type, Property[] properties)
          This operation is used to export an service offer
 Link link_if()
          Read accessor for link_if attribute
 Lookup lookup_if()
          Read accessor for lookup_if attribute
 void modify(java.lang.String id, java.lang.String[] del_list, Property[] modify_list)
          Modifies an offer
 Proxy proxy_if()
          Read accessor for proxy_if attribute
 Register register_if()
          Read accessor for register_if attribute
 Register resolve(java.lang.String[] name)
          Get a resolve interface for a linked trader
 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_using_constraint(java.lang.String type, java.lang.String constr)
          This operation withdraws several offers thanks to a constraint
 void withdraw(java.lang.String id)
          This operation is used to withdraw a service offer.
 
Methods inherited from class org.omg.CosTrading.RegisterPOA
_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

Register

public Register(Kernel kernel)
Method Detail

export

public java.lang.String export(org.omg.CORBA.Object reference,
                               java.lang.String type,
                               Property[] properties)
                        throws InvalidObjectRef,
                               IllegalServiceType,
                               UnknownServiceType,
                               InterfaceTypeMismatch,
                               IllegalPropertyName,
                               PropertyTypeMismatch,
                               ReadonlyDynamicProperty,
                               MissingMandatoryProperty,
                               DuplicatePropertyName
This operation is used to export an service offer

withdraw

public void withdraw(java.lang.String id)
              throws IllegalOfferId,
                     UnknownOfferId,
                     ProxyOfferId
This operation is used to withdraw a service offer.

describe

public OfferInfo describe(java.lang.String id)
                   throws IllegalOfferId,
                          UnknownOfferId,
                          ProxyOfferId
Describes a service offer

modify

public void modify(java.lang.String id,
                   java.lang.String[] del_list,
                   Property[] modify_list)
            throws NotImplemented,
                   IllegalOfferId,
                   UnknownOfferId,
                   ProxyOfferId,
                   IllegalPropertyName,
                   UnknownPropertyName,
                   PropertyTypeMismatch,
                   ReadonlyDynamicProperty,
                   MandatoryProperty,
                   ReadonlyProperty,
                   DuplicatePropertyName
Modifies an offer

withdraw_using_constraint

public void withdraw_using_constraint(java.lang.String type,
                                      java.lang.String constr)
                               throws IllegalServiceType,
                                      UnknownServiceType,
                                      IllegalConstraint,
                                      NoMatchingOffers
This operation withdraws several offers thanks to a constraint

resolve

public Register resolve(java.lang.String[] name)
                 throws IllegalTraderName,
                        UnknownTraderName,
                        RegisterNotSupported
Get a resolve interface for a linked trader

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