fr.dyade.aaa.jndi2.impl.MissingContextException Class Reference

Collaboration diagram for fr.dyade.aaa.jndi2.impl.MissingContextException:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MissingContextException (NamingContextId missingContextId, CompositeName name)
final NamingContextId getMissingContextId ()
final CompositeName getName ()
String toString ()

Detailed Description

Thrown when a naming context has not been found whereas its parent naming context contains a ContextRecord indicating that the naming context exists. This may happen in a distributed JNDI configuration when a naming context has not been locally created yet. For example if the context /A has been created on the server 0 and the context /A/B on the server 1. If the server 2 starts, it gets from the server 0 the naming context /A containing a ContextRecord named B. If a JNDI request is asked about B (e.g. bind /A/B/C) then the server 2 can't find the naming context B because it still didn't get the naming data from server 1. So a MissingContextException is thrown.

Definition at line 44 of file MissingContextException.java.


Constructor & Destructor Documentation

fr.dyade.aaa.jndi2.impl.MissingContextException.MissingContextException ( NamingContextId  missingContextId,
CompositeName  name 
)

Constructs a MissingContextException.

Parameters:
missingContextId the identifier of the missing context

Definition at line 63 of file MissingContextException.java.


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:17:07 2008 for joram by  doxygen 1.5.0