|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omg.PortableServer.Servant
scs.auxiliar.ComponentPropertiesPOA
scs.auxiliar.ComponentPropertiesServant
public class ComponentPropertiesServant
This class is an implementation of the ComponentProperties CORBA
interface. The mentioned interface provides access to exported properties of
a component.
| Constructor Summary | |
|---|---|
ComponentPropertiesServant(ComponentContext myComponent)
Primary constructor. |
|
| Method Summary | |
|---|---|
Object |
_get_component()
Provides a reference for the IComponent facet of this component. |
Property[] |
getProperties()
Provides an array with all the component's properties. |
Property |
getProperty(String name)
Given a property name, returns its value. |
void |
setProperty(Property prop)
Given a property name, sets a new value. |
| Methods inherited from class scs.auxiliar.ComponentPropertiesPOA |
|---|
_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 |
|---|
public ComponentPropertiesServant(ComponentContext myComponent)
myComponent - Reference to the component instance that this
implementation belongs to.| Method Detail |
|---|
public Property[] getProperties()
public Property getProperty(String name)
throws UndefinedProperty
name - The property name.
UndefinedProperty - If the property name does not exist.
public void setProperty(Property prop)
throws ReadOnlyProperty
prop - The property with name and value to be set.
ReadOnlyProperty - If the property cannot be changed.public Object _get_component()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||