org.ow2.petals.communication.jndi.client
Interface JNDIService

All Known Implementing Classes:
JNDIServiceImpl

public interface JNDIService

The JNDI service provides facilities to communicate with a JNDI server. It provides a decorated InitialContext, InitialContextDecorator, in order to manipulate a unique InitialContext.

Author:
alouis - eBM WebSourcing, Christophe HAMERLING - eBM WebSourcing

Field Summary
static java.lang.String JAVA_NAMING_FACTORY_LOGGER
           
static java.lang.String USERS_REF
          Name of the JNDI user context
 
Method Summary
 javax.naming.InitialContext getInitialContext()
          Get the initial JNDI context.
 javax.naming.Context getUsersContext()
          Return a JNDI specific Context for Components
 

Field Detail

JAVA_NAMING_FACTORY_LOGGER

static final java.lang.String JAVA_NAMING_FACTORY_LOGGER
See Also:
Constant Field Values

USERS_REF

static final java.lang.String USERS_REF
Name of the JNDI user context

See Also:
Constant Field Values
Method Detail

getInitialContext

javax.naming.InitialContext getInitialContext()
                                              throws javax.naming.NamingException
Get the initial JNDI context.

Returns:
InitialContextDecorator
Throws:
javax.naming.NamingException

getUsersContext

javax.naming.Context getUsersContext()
                                     throws javax.naming.NamingException
Return a JNDI specific Context for Components

Returns:
Throws:
javax.naming.NamingException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.