org.ow2.petals.communication.jndi.client
Class JNDIServiceImpl

java.lang.Object
  extended by org.ow2.petals.communication.jndi.client.JNDIServiceImpl
All Implemented Interfaces:
JNDIService

public class JNDIServiceImpl
extends java.lang.Object
implements JNDIService

Fractal component used to retrieve the JNDI initial context.

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

Field Summary
protected  org.ow2.petals.util.LoggingUtil log
          Logging utilities.
protected  javax.naming.Context usersContext
          Users context
 
Fields inherited from interface org.ow2.petals.communication.jndi.client.JNDIService
JAVA_NAMING_FACTORY_LOGGER, USERS_REF
 
Constructor Summary
JNDIServiceImpl()
           
 
Method Summary
 javax.naming.InitialContext getInitialContext()
          Get the initial JNDI context.
 javax.naming.Context getUsersContext()
          Return a JNDI specific Context for Components
protected  void start()
           
protected  void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

usersContext

protected javax.naming.Context usersContext
Users context


log

protected org.ow2.petals.util.LoggingUtil log
Logging utilities.

Constructor Detail

JNDIServiceImpl

public JNDIServiceImpl()
Method Detail

start

protected void start()

stop

protected void stop()

getInitialContext

public javax.naming.InitialContext getInitialContext()
                                              throws javax.naming.NamingException
Description copied from interface: JNDIService
Get the initial JNDI context.

Specified by:
getInitialContext in interface JNDIService
Returns:
InitialContextDecorator
Throws:
javax.naming.NamingException

getUsersContext

public javax.naming.Context getUsersContext()
                                     throws javax.naming.NamingException
Description copied from interface: JNDIService
Return a JNDI specific Context for Components

Specified by:
getUsersContext in interface JNDIService
Returns:
Throws:
javax.naming.NamingException


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