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

abeans::pluggable::acs::NamingServiceRemoteDirectory Class Reference

List of all members.

Public Member Functions

 NamingServiceRemoteDirectory ()
void setCacheLifetime (long milliseconds)
long getCacheLifetime ()
Context getContext ()
ComponentDescriptor getComponentDescriptor ()
void initialize (ComponentManager manager, Object state, ComponentDescriptor cdesc) throws IllegalComponentStateException, ComponentInitializationException
String[][] getConfigurationDescriptions ()
String getConfigurationName ()
void setConfiguration (AbeansProperties props) throws InitializationException
String getReference ()

Private Member Functions

void internalInitialize (CORBAService corbaService) throws ComponentInitializationException

Private Attributes

AbeansProperties serviceConfig = null
String reference = DEFAULT_REFERENCE
Context context = null
final transient ComponentDescriptor descriptor

Static Private Attributes

final String NS_RESOURCE_LOC = "NamingServiceRemoteDirectory"
final String CONF_REFERENCE = "reference"
final String DEFAULT_REFERENCE = "iiop://" + ACSPorts.getIP() + ":" + ACSPorts.getNamingServicePort() + "/"

Detailed Description

This component provides access to the CORBA Naming Service via CosNaming JNDI interface.

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


Constructor & Destructor Documentation

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

Constructor for NamingServiceRemoteDirectory.


Member Function Documentation

long abeans::pluggable::acs::NamingServiceRemoteDirectory::getCacheLifetime  )  [inline]
 

Not implemented (irrelevant).

See also:
abeans.pluggable.RemoteDirectory#getCacheLifetime()

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

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

String [][] abeans::pluggable::acs::NamingServiceRemoteDirectory::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::NamingServiceRemoteDirectory::getConfigurationName  )  [inline]
 

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

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

Context abeans::pluggable::acs::NamingServiceRemoteDirectory::getContext  )  [inline]
 

Root context of the remote directory (CORBA Naming Service).

Returns:
root context of the remote directory (CORBA Naming Service)
See also:
abeans.models.meta.ContextRepresentable#getContext()

String abeans::pluggable::acs::NamingServiceRemoteDirectory::getReference  )  [inline]
 

Returns the reference of the naming service remote directory.

Returns:
String the reference of the naming service remote directory

void abeans::pluggable::acs::NamingServiceRemoteDirectory::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::NamingServiceRemoteDirectory::internalInitialize CORBAService  corbaService  )  throws ComponentInitializationException [inline, private]
 

Obtains root context of the remote directory (CORBA Naming Service).

Parameters:
corbaService CORBAService object to serve its ORB
Exceptions:
ComponentInitializationException 

void abeans::pluggable::acs::NamingServiceRemoteDirectory::setCacheLifetime long  milliseconds  )  [inline]
 

Not implemented (irrelevant).

See also:
abeans.pluggable.RemoteDirectory#setCacheLifetime(long)

void abeans::pluggable::acs::NamingServiceRemoteDirectory::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::NamingServiceRemoteDirectory::CONF_REFERENCE = "reference" [static, private]
 

The constant denoting the value of the configuration key.

Context abeans::pluggable::acs::NamingServiceRemoteDirectory::context = null [private]
 

Root context of the remote directory (CORBA Naming Service).

final String abeans::pluggable::acs::NamingServiceRemoteDirectory::DEFAULT_REFERENCE = "iiop://" + ACSPorts.getIP() + ":" + ACSPorts.getNamingServicePort() + "/" [static, private]
 

The constant denoting the default NS reference (if non is set).

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

Initial value:

new ComponentDescriptor(getClass(), RemoteDirectory.class, 1, "CORBA Naming Service Remote Directory", false, true, null)
Component description of this plug.

final String abeans::pluggable::acs::NamingServiceRemoteDirectory::NS_RESOURCE_LOC = "NamingServiceRemoteDirectory" [static, private]
 

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

String abeans::pluggable::acs::NamingServiceRemoteDirectory::reference = DEFAULT_REFERENCE [private]
 

Reference to CORBA Naming Service, use IIOP type reference - 'iiop://<host>[:<port>]'.

AbeansProperties abeans::pluggable::acs::NamingServiceRemoteDirectory::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:17 2009 for ACS Java API by doxygen 1.3.8