Public Member Functions | |
void | initialize (ContainerServices containerServices) throws ComponentLifecycleException |
void | cleanUp () throws AcsJComponentCleanUpEx |
ContainerServices | getComponentContainerServices () |
boolean | execute (PrioritizedRunnable action) |
void | unregisterProperty (PropertyOperations propertyImpl) |
CharacteristicComponentDesc | descriptor () |
Any | get_characteristic_by_name (String name) throws NoSuchCharacteristic |
String[] | find_characteristic (String wildcard) |
PropertySet | get_all_characteristics () |
Protected Attributes | |
CharacteristicModelImpl | characteristicModelImpl |
Map< PropertyOperations, Servant > | properties |
Package Functions | |
public< T extends Servant &OffShootOperations > Property | registerProperty (PropertyOperations propertyImpl, T propertyServant) |
Implementation of alma.ACS.CharacteristicComponentImpl
.
void alma.ACS.impl.CharacteristicComponentImpl.cleanUp | ( | ) | throws AcsJComponentCleanUpEx |
CharacteristicComponentDesc alma.ACS.impl.CharacteristicComponentImpl.descriptor | ( | ) |
NOTE: characteristic_component_ref
member of CharacteristicComponentDesc
is always set to null
.
References alma.ACS.impl.CharacteristicComponentImpl.get_all_characteristics(), alma.acs.component.ComponentImplBase.m_instanceName, and alma.ACS.impl.CharacteristicComponentImpl.properties.
boolean alma.ACS.impl.CharacteristicComponentImpl.execute | ( | PrioritizedRunnable | action | ) |
Execute action. If the maximum pool size or queue size is bounded, then it is possible for incoming execute requests to block. BACIExecutor
uses default 'Run' blocking policy: The thread making the execute request runs the task itself. This policy helps guard against lockup.
action | action to execute. |
true
on success. Implements alma.ACS.jbaci.PrioritizedExecutor.
References alma.acs.container.ContainerServicesBase.getThreadFactory(), and alma.acs.component.ComponentImplBase.m_containerServices.
String [] alma.ACS.impl.CharacteristicComponentImpl.find_characteristic | ( | String | wildcard | ) |
References alma.ACS.impl.CharacteristicComponentImpl.characteristicModelImpl, and alma.ACS.impl.CharacteristicModelImpl.find_characteristic().
PropertySet alma.ACS.impl.CharacteristicComponentImpl.get_all_characteristics | ( | ) |
References alma.ACS.impl.CharacteristicComponentImpl.characteristicModelImpl, alma.ACS.impl.CharacteristicModelImpl.get_all_characteristics(), alma.ACS.impl.CharacteristicModelImpl.lendContainerServices(), and alma.acs.component.ComponentImplBase.m_containerServices.
Referenced by alma.ACS.impl.CharacteristicComponentImpl.descriptor().
Any alma.ACS.impl.CharacteristicComponentImpl.get_characteristic_by_name | ( | String | name | ) | throws NoSuchCharacteristic |
References alma.ACS.impl.CharacteristicComponentImpl.characteristicModelImpl, alma.ACS.impl.CharacteristicModelImpl.get_characteristic_by_name(), alma.ACS.impl.CharacteristicModelImpl.lendContainerServices(), alma.acs.component.ComponentImplBase.m_containerServices, and alma.acs.component.ComponentImplBase.name().
ContainerServices alma.ACS.impl.CharacteristicComponentImpl.getComponentContainerServices | ( | ) |
Get component container services.
References alma.acs.component.ComponentImplBase.m_containerServices.
Referenced by alma.ACS.impl.CommonPropertyImpl.CommonPropertyImpl(), alma.ACS.impl.PropertyImpl.get_all_characteristics(), alma.ACS.impl.PropertyImpl.get_characteristic_by_name(), alma.ACS.impl.PropertyImpl.PropertyImpl(), alma.ACS.impl.CommonPropertyImpl.registerMonitor(), alma.ACS.impl.CharacteristicComponentImpl.registerProperty(), alma.ACS.impl.CommonPropertyImpl.unregisterMonitor(), and alma.ACS.impl.CharacteristicComponentImpl.unregisterProperty().
void alma.ACS.impl.CharacteristicComponentImpl.initialize | ( | ContainerServices | containerServices | ) | throws ComponentLifecycleException |
public<T extends Servant & OffShootOperations> Property alma.ACS.impl.CharacteristicComponentImpl.registerProperty | ( | PropertyOperations | propertyImpl, | |
T | propertyServant | |||
) | [package] |
Register property on this component (and optionally CORBA activate). Registration is needed for property destruction on component destruction.
propertyImpl | property implementation. | |
propertyServant | property CORBA servant (e.g. Rx<type>POATie class). If null property will be treated as non-CORBA property and no CORBA activation will be done. |
null
if propertyServant == null
. References alma.ACS.impl.CharacteristicComponentImpl.getComponentContainerServices(), alma.acs.component.ComponentImplBase.m_logger, and alma.ACS.impl.CharacteristicComponentImpl.properties.
Referenced by alma.ACSCOURSE_MOUNT.Mount6Impl.Mount6Impl.initialize(), and alma.ACS.MasterComponentImpl.MasterComponentImplBase.initialize().
void alma.ACS.impl.CharacteristicComponentImpl.unregisterProperty | ( | PropertyOperations | propertyImpl | ) |
Unregister property on this component (and optionally CORBA deactivate). Should be called by PropertyImpl.destroy()
method.
propertyImpl | property implementation. |
References alma.acs.container.ContainerServicesBase.deactivateOffShoot(), alma.ACS.impl.CharacteristicComponentImpl.getComponentContainerServices(), alma.acs.component.ComponentImplBase.m_logger, and alma.ACS.impl.CharacteristicComponentImpl.properties.
Referenced by alma.ACS.impl.PropertyImpl.destroy().
CharacteristicModelImpl alma.ACS.impl.CharacteristicComponentImpl.characteristicModelImpl [protected] |
CharacteristicModel implementation (delegate).
Referenced by alma.ACS.impl.CharacteristicComponentImpl.find_characteristic(), alma.ACS.impl.CharacteristicComponentImpl.get_all_characteristics(), alma.ACS.impl.CharacteristicComponentImpl.get_characteristic_by_name(), and alma.ACS.impl.CharacteristicComponentImpl.initialize().
Map<PropertyOperations, Servant> alma.ACS.impl.CharacteristicComponentImpl.properties [protected] |
List of all component properties (needed on component destruction).
Referenced by alma.ACS.impl.CharacteristicComponentImpl.cleanUp(), alma.ACS.impl.CharacteristicComponentImpl.descriptor(), alma.ACS.impl.CharacteristicComponentImpl.initialize(), alma.ACS.impl.CharacteristicComponentImpl.registerProperty(), and alma.ACS.impl.CharacteristicComponentImpl.unregisterProperty().