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

com::cosylab::acs::maci::test::TestComponent Class Reference

Inheritance diagram for com::cosylab::acs::maci::test::TestComponent:

Inheritance graph
[legend]
Collaboration diagram for com::cosylab::acs::maci::test::TestComponent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TestComponent (String name)
 TestComponent (String name, boolean simulateConstructFailure, boolean simulateDestructFailure)
void activate () throws Exception
void deactivate ()
void construct () throws RemoteException
void destruct () throws RemoteException
String[] implementedInterfaces ()
boolean doesImplement (String type)
Object getObject ()
int getHandle ()
void setHandle (int h)

Package Attributes

String name
int handle = 0
boolean simulateConstructFailure = false
boolean simulateDestructFailure = false

Detailed Description

Test implementation of Component.

Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@


Constructor & Destructor Documentation

com::cosylab::acs::maci::test::TestComponent::TestComponent String  name  )  [inline]
 

Constructor for TestComponent.

Parameters:
name name of the cob

com::cosylab::acs::maci::test::TestComponent::TestComponent String  name,
boolean  simulateConstructFailure,
boolean  simulateDestructFailure
[inline]
 

Constructor for TestComponent, tuning construct/destruct failures.

Parameters:
name name of the cob
simulateConstructFailure if true construct method will throw exception
simulateDestructFailure if true desctruct method will throw exception


Member Function Documentation

void com::cosylab::acs::maci::test::TestComponent::activate  )  throws Exception [inline]
 

TectContainer should call this method on activation.

Reimplemented in com::cosylab::acs::maci::test::TestHierarchicalComponent.

void com::cosylab::acs::maci::test::TestComponent::construct  )  throws RemoteException [inline]
 

See also:
com.cosylab.acs.maci.Component::construct()

Implements com::cosylab::acs::maci::Component.

Reimplemented in com::cosylab::acs::maci::test::TestHierarchicalComponent.

void com::cosylab::acs::maci::test::TestComponent::deactivate  )  [inline]
 

TectContainer should call this method on deactivation.

Reimplemented in com::cosylab::acs::maci::test::TestHierarchicalComponent.

void com::cosylab::acs::maci::test::TestComponent::destruct  )  throws RemoteException [inline]
 

See also:
com.cosylab.acs.maci.Component::destruct()

Implements com::cosylab::acs::maci::Component.

Reimplemented in com::cosylab::acs::maci::test::TestHierarchicalComponent.

boolean com::cosylab::acs::maci::test::TestComponent::doesImplement String  type  )  [inline]
 

See also:
com.cosylab.acs.maci.Component::doesImplement(String)

Implements com::cosylab::acs::maci::Component.

int com::cosylab::acs::maci::test::TestComponent::getHandle  )  [inline]
 

Get component handle.

Returns:
component handle.

Object com::cosylab::acs::maci::test::TestComponent::getObject  )  [inline]
 

See also:
com.cosylab.acs.maci.Component::getObject()

Implements com::cosylab::acs::maci::Component.

String [] com::cosylab::acs::maci::test::TestComponent::implementedInterfaces  )  [inline]
 

See also:
com.cosylab.acs.maci.Component::implementedInterfaces()

Implements com::cosylab::acs::maci::Component.

void com::cosylab::acs::maci::test::TestComponent::setHandle int  h  )  [inline]
 

Set component handle.

Parameters:
h component handle.


Member Data Documentation

int com::cosylab::acs::maci::test::TestComponent::handle = 0 [package]
 

Component handle.

String com::cosylab::acs::maci::test::TestComponent::name [package]
 

Component name.

boolean com::cosylab::acs::maci::test::TestComponent::simulateConstructFailure = false [package]
 

If true construct method will throw exception.

boolean com::cosylab::acs::maci::test::TestComponent::simulateDestructFailure = false [package]
 

If true desctruct method will throw exception.


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