Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::ACS::impl::CharacteristicComponentImpl Class Reference

Inheritance diagram for alma::ACS::impl::CharacteristicComponentImpl:

Inheritance graph
[legend]
Collaboration diagram for alma::ACS::impl::CharacteristicComponentImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void initialize (ContainerServices containerServices) throws ComponentLifecycleException
void cleanUp ()
ContainerServices getComponentContainerServices ()
boolean execute (PrioritizedRunnable action)
Property registerProperty (PropertyImpl propertyImpl, Servant propertyServant)
void unregisterProperty (PropertyImpl 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 properties

Private Attributes

CharacteristicComponentDesc characteristicComponentDesc
ThreadPoolExecutor threadPool

Static Private Attributes

final int MAX_REQUESTS = 100
final int MAX_POOL_THREADS = 10

Detailed Description

Implementation of alma.ACS.CharacteristicComponentImpl.
Author:
Matej Sekoranja
Version:
$id$


Member Function Documentation

void alma::ACS::impl::CharacteristicComponentImpl::cleanUp  )  [inline]
 

See also:
alma.acs.component.ComponentLifecycle::cleanUp()

CharacteristicComponentDesc alma::ACS::impl::CharacteristicComponentImpl::descriptor  )  [inline]
 

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

Implements alma::ACS::CharacteristicComponentOperations.

boolean alma::ACS::impl::CharacteristicComponentImpl::execute PrioritizedRunnable  action  )  [inline]
 

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.

String [] alma::ACS::impl::CharacteristicComponentImpl::find_characteristic String  wildcard  )  [inline]
 

See also:
alma.ACS.CharacteristicModelOperations::find_characteristic(java.lang.String)

PropertySet alma::ACS::impl::CharacteristicComponentImpl::get_all_characteristics  )  [inline]
 

See also:
alma.ACS.CharacteristicModelOperations::get_all_characteristics()

Implements alma::ACS::CharacteristicModelOperations.

Any alma::ACS::impl::CharacteristicComponentImpl::get_characteristic_by_name String  name  )  throws NoSuchCharacteristic [inline]
 

See also:
alma.ACS.CharacteristicModelOperations::get_characteristic_by_name(java.lang.String)

ContainerServices alma::ACS::impl::CharacteristicComponentImpl::getComponentContainerServices  )  [inline]
 

Get component container services.

Returns:
component container services.

void alma::ACS::impl::CharacteristicComponentImpl::initialize ContainerServices  containerServices  )  throws ComponentLifecycleException [inline]
 

See also:
alma.acs.component.ComponentLifecycle::initialize(alma.acs.container.ContainerServices)

Property alma::ACS::impl::CharacteristicComponentImpl::registerProperty PropertyImpl  propertyImpl,
Servant  propertyServant
[inline]
 

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 threated as non-CORBA property and no CORBA activation will be done.
Returns:
CORBA activated property reference, null if propertyServant == null.

void alma::ACS::impl::CharacteristicComponentImpl::unregisterProperty PropertyImpl  propertyImpl  )  [inline]
 

Unregister property on this component (and optionally CORBA deactivate). Should be called by PropertyImpl.destroy() method.

Parameters:
propertyImpl property implementation.


Member Data Documentation

CharacteristicComponentDesc alma::ACS::impl::CharacteristicComponentImpl::characteristicComponentDesc [private]
 

CharacteristicComponent descriptor (lazy initialization).

CharacteristicModelImpl alma::ACS::impl::CharacteristicComponentImpl::characteristicModelImpl [protected]
 

CharacteristicModel implementation (delegate).

final int alma::ACS::impl::CharacteristicComponentImpl::MAX_POOL_THREADS = 10 [static, private]
 

Number of threads in thread pool.

final int alma::ACS::impl::CharacteristicComponentImpl::MAX_REQUESTS = 100 [static, private]
 

Number of requests in thread pool (guarantees order of execution).

Map alma::ACS::impl::CharacteristicComponentImpl::properties [protected]
 

List of all component properties (needed on component destruction).

ThreadPoolExecutor alma::ACS::impl::CharacteristicComponentImpl::threadPool [private]
 

Component thread pool.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:53:05 2009 for ACS Java API by doxygen 1.3.8