scs.auxiliar
Class ComponentHelpServant

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by scs.auxiliar.ComponentHelpPOA
          extended by scs.auxiliar.ComponentHelpServant
All Implemented Interfaces:
InvokeHandler, ComponentHelpOperations

public class ComponentHelpServant
extends ComponentHelpPOA

This class is an implementation of the ComponentHelp CORBA interface. The mentioned interface provides help strings for a collection of components.


Constructor Summary
ComponentHelpServant(ComponentContext myComponent)
          Primary constructor.
 
Method Summary
 Object _get_component()
          Provides a reference for the IComponent facet of this component.
 String getHelpInfo(ComponentId id)
          Provides help info for a specific component.
 
Methods inherited from class scs.auxiliar.ComponentHelpPOA
_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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentHelpServant

public ComponentHelpServant(ComponentContext myComponent)
Primary constructor. Initializes a map that associates help strings with component id's.

Parameters:
myComponent - Reference to the component instance that this implementation belongs to.
Method Detail

getHelpInfo

public String getHelpInfo(ComponentId id)
                   throws HelpInfoNotAvailable
Provides help info for a specific component.

Parameters:
id - The component's id.
Returns:
Help string.
Throws:
HelpInfoNotAvailable

_get_component

public Object _get_component()
Provides a reference for the IComponent facet of this component.



Copyright © 2014. All Rights Reserved.