Interface NamingService
-
- All Known Implementing Classes:
TurbineNamingService
public interface NamingService extends Service
Implementations of the NamingService interface provide JNDI naming contexts.- Version:
- $Id$
- Author:
- Greg Ritter
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
The service name
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Context
getContext(String name)
Return the Context with the specified name.-
Methods inherited from interface org.apache.turbine.services.Initable
getInit, init, init, setInitableBroker, shutdown
-
Methods inherited from interface org.apache.turbine.services.Service
getConfiguration, getName, getProperties, setName, setServiceBroker
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
The service name- See Also:
- Constant Field Values
-
-
Method Detail
-
getContext
Context getContext(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.
-
-