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

abeans::pluggable::acs::maci::ACSRemoteDirectory Class Reference

List of all members.

Public Member Functions

 ACSRemoteDirectory () throws NamingException
ComponentDescriptor getComponentDescriptor ()
void initialize (ComponentManager manager, Object state, ComponentDescriptor cdesc) throws IllegalComponentStateException, ComponentInitializationException
void destroy ()
long getCacheLifetime ()
void setCacheLifetime (long milliseconds)
Context getContext ()

Private Attributes

ComponentDescriptor cdesc = null
AbeansDirectory context = null

Detailed Description

This class is the implementation of the RemoteDirectory interface defined on the pluggable layer. This is a directory service that integrates into DistributedDirectory defined on the models layer. This implementation is a JNDI context that is bound into distributed directory under the name of the ACS plug (i.e. "abeans-ACS").

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


Constructor & Destructor Documentation

abeans::pluggable::acs::maci::ACSRemoteDirectory::ACSRemoteDirectory  )  throws NamingException [inline]
 

Creates a new instance of this class.

Exceptions:
NamingException not thrown by this implementation


Member Function Documentation

void abeans::pluggable::acs::maci::ACSRemoteDirectory::destroy  )  [inline]
 

Destroys this remote directory by deregistering it from the distributed directory and calling super destroy.

long abeans::pluggable::acs::maci::ACSRemoteDirectory::getCacheLifetime  )  [inline]
 

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

ComponentDescriptor abeans::pluggable::acs::maci::ACSRemoteDirectory::getComponentDescriptor  )  [inline]
 

Returns the component descriptor for this entry.

Returns:
component descriptor for this

Context abeans::pluggable::acs::maci::ACSRemoteDirectory::getContext  )  [inline]
 

Returns the context that will represent this service in the distributed directory.

Returns:
the context of this remote directory

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

Initializes this remote directory. This involves resolving the modeling layer DistributedDirectory and adding a descriptor for this RemoteDirectory into it. If the distributed directory service is not available, the installation of this component fails. This is a stateless service that does not support state transfers.

Parameters:
manager the manager parent of this, non-null
state must be null
cdesc must be null, this component does not support state transfers
Exceptions:
IllegalComponentStateException if the state or cdesc parameters are not null
ComponentInitializationException if the manager parameter is null or the DistributedDirectory service is not present in the modeling layer

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

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


Member Data Documentation

ComponentDescriptor abeans::pluggable::acs::maci::ACSRemoteDirectory::cdesc = null [private]
 

This component descriptor.

AbeansDirectory abeans::pluggable::acs::maci::ACSRemoteDirectory::context = null [private]
 

This directory root context.


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