org.apache.turbine.services.naming
Interface NamingService

All Superinterfaces:
Initable, Service
All Known Implementing Classes:
TurbineNamingService

public interface NamingService
extends Service

Implementations of the NamingService interface provide JNDI naming contexts.

Version:
$Id: NamingService.java 534527 2007-05-02 16:10:59Z tv $
Author:
Greg Ritter

Field Summary
static java.lang.String SERVICE_NAME
           
 
Method Summary
 javax.naming.Context getContext(java.lang.String name)
          Return the Context with the specified name.
 
Methods inherited from interface org.apache.turbine.services.Service
getConfiguration, getName, getProperties, setName, setServiceBroker
 
Methods inherited from interface org.apache.turbine.services.Initable
getInit, init, init, setInitableBroker, shutdown
 

Field Detail

SERVICE_NAME

public static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values
Method Detail

getContext

public javax.naming.Context getContext(java.lang.String name)
Return the Context with the specified name.

Parameters:
name - The name of the context.
Returns:
The context with the specified name, or null if no context exists with that name.


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.