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

abeans::models::acs::baci::Component Class Reference

Inheritance diagram for abeans::models::acs::baci::Component:

Inheritance graph
[legend]
Collaboration diagram for abeans::models::acs::baci::Component:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Component ()
 Component (Family parent, RemoteInfo info) throws InitializationException
synchronized void initialize (Proxy proxy) throws RemoteException, AssertionFailed
void addResponseListener (ResponseListener l)
void removeResponseListener (ResponseListener l)
ResponseListener[] getResponseListeners ()
String getName () throws DataExchangeException
ComponentStates getComponentState () throws RequestException
Proxy getProxy ()
void setProxy (Proxy proxy)
ChildLifecycleListener getLifecycleListener ()
ApplicationContext getApplicationContext ()
void setApplicationContext (ApplicationContext context) throws PlugException, InitializationException
String getRemoteName ()
void setRemoteName (String string) throws PlugException, InitializationException

Protected Member Functions

void checkConnectionParameters () throws PlugException, InitializationException

Protected Attributes

String name = NO_NAME
EventListenerList listeners = new EventListenerList()
ApplicationContext applicationContext = ACSAbeansEngine.getDefaultApplicationContext()
String remoteName

Private Attributes

ChildLifecycleListener lifecycleListener = new ChildLifecycleListener()

Static Private Attributes

final String NO_NAME = "<unnamed>"

Detailed Description

Base class representing an component.

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


Constructor & Destructor Documentation

abeans::models::acs::baci::Component::Component  )  [inline]
 

Default constructor.

abeans::models::acs::baci::Component::Component Family  parent,
RemoteInfo  info
throws InitializationException [inline]
 

Parameters:
parent 
info 
Exceptions:
InitializationException 


Member Function Documentation

void abeans::models::acs::baci::Component::addResponseListener ResponseListener  l  )  [inline]
 

See also:
com.cosylab.datatypes.AsynchronousAccess#addResponseListener(com.cosylab.datatypes.ResponseListener)

void abeans::models::acs::baci::Component::checkConnectionParameters  )  throws PlugException, InitializationException [inline, protected]
 

Checks all required connection parameters and connects if all conditions are satisfied.

ApplicationContext abeans::models::acs::baci::Component::getApplicationContext  )  [inline]
 

Returns application context.

Returns:
application context.

ComponentStates abeans::models::acs::baci::Component::getComponentState  )  throws RequestException [inline]
 

Get component state.

Returns:
component state.
Exceptions:
RequestException 

ChildLifecycleListener abeans::models::acs::baci::Component::getLifecycleListener  )  [inline]
 

Get component lifecycle listener.

Returns:
component lifecycle listener.

String abeans::models::acs::baci::Component::getName  )  throws DataExchangeException [inline]
 

Get name of the component.

Returns:
name of the component.
Exceptions:
DataExchangeException 

Proxy abeans::models::acs::baci::Component::getProxy  )  [inline]
 

See also:
abeans.models.acs.baci.ProxyContainer::getProxy()

Implements abeans::models::acs::baci::ProxyContainer.

String abeans::models::acs::baci::Component::getRemoteName  )  [inline]
 

Returns bean remote name.

Returns:
bean remote name.

ResponseListener [] abeans::models::acs::baci::Component::getResponseListeners  )  [inline]
 

See also:
com.cosylab.datatypes.AsynchronousAccess#getResponseListeners()

synchronized void abeans::models::acs::baci::Component::initialize Proxy  proxy  )  throws RemoteException, AssertionFailed [inline]
 

See also:
abeans.models.Linkable#initialize(abeans.pluggable.Proxy)

Reimplemented in abeans::models::acs::baci::CharacteristicComponent.

void abeans::models::acs::baci::Component::removeResponseListener ResponseListener  l  )  [inline]
 

See also:
com.cosylab.datatypes.AsynchronousAccess#removeResponseListener(com.cosylab.datatypes.ResponseListener)

void abeans::models::acs::baci::Component::setApplicationContext ApplicationContext  context  )  throws PlugException, InitializationException [inline]
 

Sets application context.

Parameters:
context applicationContext

void abeans::models::acs::baci::Component::setProxy Proxy  proxy  )  [inline]
 

See also:
abeans.models.acs.baci.ProxyContainer::setProxy(abeans.pluggable.Proxy)

Implements abeans::models::acs::baci::ProxyContainer.

void abeans::models::acs::baci::Component::setRemoteName String  string  )  throws PlugException, InitializationException [inline]
 

Sets bean remote name.

Parameters:
string bean remote name.


Member Data Documentation

ApplicationContext abeans::models::acs::baci::Component::applicationContext = ACSAbeansEngine.getDefaultApplicationContext() [protected]
 

Application context (needed to obtain bean parent family and creating remoteInfo).

ChildLifecycleListener abeans::models::acs::baci::Component::lifecycleListener = new ChildLifecycleListener() [private]
 

Lifecycle listener.

EventListenerList abeans::models::acs::baci::Component::listeners = new EventListenerList() [protected]
 

Event listeners.

String abeans::models::acs::baci::Component::name = NO_NAME [protected]
 

Name of the component.

final String abeans::models::acs::baci::Component::NO_NAME = "<unnamed>" [static, private]
 

No name string.

String abeans::models::acs::baci::Component::remoteName [protected]
 

Bean remote name (translated later by applicationContext to remoteInfo).


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