Public Member Functions | Protected Attributes | Package Functions

alma.ACS.impl.CharacteristicComponentImpl Class Reference

Inheritance diagram for alma.ACS.impl.CharacteristicComponentImpl:
alma.acs.component.ComponentImplBase alma.ACS.jbaci.PrioritizedExecutor alma.acs.component.ComponentLifecycle alma.ACS.MasterComponentImpl.MasterComponentImplBase alma.ACSCOURSE_MOUNT.Mount6Impl.Mount6Impl

List of all members.

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)

Detailed Description

Implementation of alma.ACS.CharacteristicComponentImpl.

Author:
Matej Sekoranja
Camilo Menay
Cristian Maureira
Version:
$id$

Member Function Documentation

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.

See also:
alma.ACS.CharacteristicComponentOperations.descriptor()

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.

Parameters:
action action to execute.
Returns:
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  ) 
See also:
alma.ACS.CharacteristicModelOperations.find_characteristic(java.lang.String)

References alma.ACS.impl.CharacteristicComponentImpl.characteristicModelImpl, and alma.ACS.impl.CharacteristicModelImpl.find_characteristic().

PropertySet alma.ACS.impl.CharacteristicComponentImpl.get_all_characteristics (  ) 
Any alma.ACS.impl.CharacteristicComponentImpl.get_characteristic_by_name ( String  name  )  throws NoSuchCharacteristic
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.

Parameters:
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.
Returns:
CORBA activated property reference, 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.

Parameters:
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().


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties