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

abeans::pluggable::acs::DefaultCORBAService Class Reference

Inheritance diagram for abeans::pluggable::acs::DefaultCORBAService:

Inheritance graph
[legend]
Collaboration diagram for abeans::pluggable::acs::DefaultCORBAService:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DefaultCORBAService ()
ComponentDescriptor getComponentDescriptor ()
void initialize (ComponentManager manager, Object state, ComponentDescriptor cdesc) throws IllegalComponentStateException, ComponentInitializationException
String[][] getConfigurationDescriptions ()
String getConfigurationName ()
void setConfiguration (AbeansProperties props) throws InitializationException
void destroy ()
ORB getORB ()
POA getRootPOA ()
void run ()

Private Member Functions

void internalInitialize () throws ComponentInitializationException

Private Attributes

final transient ComponentDescriptor descriptor
AbeansProperties serviceConfig = null
ORB orb = null
volatile boolean destroyState = false
POA rootPOA = null

Static Private Attributes

final String DCS_RESOURCE_LOC = "DefaultCORBAService"

Detailed Description

Class that provides default ACS CORBA service implementation.

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


Constructor & Destructor Documentation

abeans::pluggable::acs::DefaultCORBAService::DefaultCORBAService  )  [inline]
 

Constructor for DefaultCORBAService.


Member Function Documentation

void abeans::pluggable::acs::DefaultCORBAService::destroy  )  [inline]
 

Overloads the destroy to first perform a ORB shutdown.

ComponentDescriptor abeans::pluggable::acs::DefaultCORBAService::getComponentDescriptor  )  [inline]
 

See also:
abeans.core.Component#getComponentDescriptor()

String [][] abeans::pluggable::acs::DefaultCORBAService::getConfigurationDescriptions  )  [inline]
 

Returns the descriptors for this service.

Returns:
an array of configuration descriptions
See also:
abeans.core.defaults.Configurable#getConfigurationDescriptions()

String abeans::pluggable::acs::DefaultCORBAService::getConfigurationName  )  [inline]
 

Returns name of the plug, the configuration name of this plug.

Returns:
configuration name
See also:
abeans.core.defaults.Configurable#getConfigurationName()

ORB abeans::pluggable::acs::DefaultCORBAService::getORB  )  [inline]
 

Returns Object Request Broker (ORB) object.

Returns:
Object Request Broker (ORB) object
See also:
abeans.pluggable.acs.CORBAService::getORB()

Implements abeans::pluggable::acs::CORBAService.

POA abeans::pluggable::acs::DefaultCORBAService::getRootPOA  )  [inline]
 

Returns root Portable Object Adapter (POA) object.

Returns:
root Portable Object Adapter (POA) object
See also:
abeans.pluggable.acs.CORBAService::getRootPOA()

Implements abeans::pluggable::acs::CORBAService.

void abeans::pluggable::acs::DefaultCORBAService::initialize ComponentManager  manager,
Object  state,
ComponentDescriptor  cdesc
throws IllegalComponentStateException, ComponentInitializationException [inline]
 

Initializes the component by placing it into the hierarchy.

Parameters:
manager the parent of this component, non-null
state must be null
cdesc must be null
Exceptions:
IllegalComponentStateException when the cdesc is not null
ComponentInitializationException when the manager already contains an authentication service instance
See also:
abeans.core.Component#initialize(ComponentManager, Object, ComponentDescriptor)

void abeans::pluggable::acs::DefaultCORBAService::internalInitialize  )  throws ComponentInitializationException [inline, private]
 

Initializes the CORBA.

Exceptions:
ComponentInitializationException 

void abeans::pluggable::acs::DefaultCORBAService::run  )  [inline]
 

Main thread to handle CORBA requests.

See also:
java.lang.Runnable#run()

void abeans::pluggable::acs::DefaultCORBAService::setConfiguration AbeansProperties  props  )  throws InitializationException [inline]
 

Interprets the configuration delivered by Abeans configuration service.

Parameters:
prop the configuration, if null, the method returns NOP
Exceptions:
InitializationException when the configuration cannot be interpreted
See also:
abeans.core.defaults.Configurable#setConfiguration(AbeansProperties)


Member Data Documentation

final String abeans::pluggable::acs::DefaultCORBAService::DCS_RESOURCE_LOC = "DefaultCORBAService" [static, private]
 

The constant denoting the name of the configuration resource (file).

final transient ComponentDescriptor abeans::pluggable::acs::DefaultCORBAService::descriptor [private]
 

Initial value:

new ComponentDescriptor(getClass(), CORBAService.class, 1, "Default ACS CORBA Service", false, true, null)
Component description of this plug.

volatile boolean abeans::pluggable::acs::DefaultCORBAService::destroyState = false [private]
 

Additional sync check (what if component is destroyed before thread is started).

ORB abeans::pluggable::acs::DefaultCORBAService::orb = null [private]
 

Object Request Broker (ORB) object.

POA abeans::pluggable::acs::DefaultCORBAService::rootPOA = null [private]
 

Root Portable Object Adapter (POA) object.

AbeansProperties abeans::pluggable::acs::DefaultCORBAService::serviceConfig = null [private]
 

Properties of the service.


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