public class CharacteristicComponentImpl extends ComponentImplBase implements PrioritizedExecutor
alma.ACS.CharacteristicComponentImpl.| Modifier and Type | Field and Description |
|---|---|
protected CharacteristicModelImpl |
characteristicModelImpl
CharacteristicModel implementation (delegate).
|
protected java.util.Map<PropertyOperations,org.omg.PortableServer.Servant> |
properties
List of all component properties (needed on component destruction).
|
m_containerServices, m_instanceName, m_logger| Constructor and Description |
|---|
CharacteristicComponentImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp()
Called after the last functional call to the component has finished.
|
CharacteristicComponentDesc |
descriptor()
NOTE:
characteristic_component_ref member of CharacteristicComponentDesc is always set to null. |
boolean |
execute(PrioritizedRunnable action)
Execute action.
|
java.lang.String[] |
find_characteristic(java.lang.String wildcard) |
PropertySet |
get_all_characteristics() |
org.omg.CORBA.Any |
get_characteristic_by_name(java.lang.String name) |
ContainerServices |
getComponentContainerServices()
Get component container services.
|
void |
initialize(ContainerServices containerServices)
Subclass must call
super.initialize(containerServices)
unless it overrides as well all other methods which access the member vars of this class. |
<T extends org.omg.PortableServer.Servant & OffShootOperations> |
registerProperty(PropertyOperations propertyImpl,
T propertyServant)
Register property on this component (and optionally CORBA activate).
|
void |
unregisterProperty(PropertyOperations propertyImpl)
Unregister property on this component (and optionally CORBA deactivate).
|
aboutToAbort, componentState, execute, nameprotected CharacteristicModelImpl characteristicModelImpl
protected java.util.Map<PropertyOperations,org.omg.PortableServer.Servant> properties
public void initialize(ContainerServices containerServices) throws ComponentLifecycleException
ComponentImplBasesuper.initialize(containerServices)
unless it overrides as well all other methods which access the member vars of this class.initialize in interface ComponentLifecycleinitialize in class ComponentImplBasecontainerServices - callback object for services provided by the containerComponentLifecycleExceptionComponentLifecycle.initialize(alma.acs.container.ContainerServices)public void cleanUp()
throws AcsJComponentCleanUpEx
ComponentLifecyclecleanUp in interface ComponentLifecyclecleanUp in class ComponentImplBaseAcsJComponentCleanUpExComponentLifecycle.cleanUp()public ContainerServices getComponentContainerServices()
public boolean execute(PrioritizedRunnable action)
BACIExecutor uses default 'Run' blocking policy:
The thread making the execute request runs the task itself. This policy helps guard against lockup.execute in interface PrioritizedExecutoraction - action to execute.true on success.public <T extends org.omg.PortableServer.Servant & OffShootOperations> Property registerProperty(PropertyOperations propertyImpl,
T propertyServant)
propertyImpl - property implementation.propertyServant - property CORBA servant (e.g. Rxnull property will
be treated as non-CORBA property and no CORBA activation will be done.null if propertyServant == null.public void unregisterProperty(PropertyOperations propertyImpl)
PropertyImpl.destroy() method.propertyImpl - property implementation.public CharacteristicComponentDesc descriptor()
characteristic_component_ref member of CharacteristicComponentDesc is always set to null.alma.ACS.CharacteristicComponentOperations#descriptor()public org.omg.CORBA.Any get_characteristic_by_name(java.lang.String name)
throws NoSuchCharacteristic
NoSuchCharacteristicalma.ACS.CharacteristicModelOperations#get_characteristic_by_name(java.lang.String)public java.lang.String[] find_characteristic(java.lang.String wildcard)
alma.ACS.CharacteristicModelOperations#find_characteristic(java.lang.String)public PropertySet get_all_characteristics()
alma.ACS.CharacteristicModelOperations#get_all_characteristics()