|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.turbine.services.BaseInitable
org.apache.turbine.services.BaseService
org.apache.turbine.services.TurbineBaseService
org.apache.turbine.services.naming.TurbineNamingService
public class TurbineNamingService
This class is the default implementation of NamingService, which provides JNDI naming contexts.
| Field Summary |
|---|
| Fields inherited from class org.apache.turbine.services.BaseService |
|---|
configuration, name, serviceBroker |
| Fields inherited from class org.apache.turbine.services.BaseInitable |
|---|
initableBroker, isInitialized |
| Fields inherited from interface org.apache.turbine.services.naming.NamingService |
|---|
SERVICE_NAME |
| Constructor Summary | |
|---|---|
TurbineNamingService()
|
|
| Method Summary | |
|---|---|
javax.naming.Context |
getContext(java.lang.String contextName)
Return the Context with the specified name. |
void |
init()
Called the first time the Service is used. |
| Methods inherited from class org.apache.turbine.services.TurbineBaseService |
|---|
init, init, init, shutdown |
| Methods inherited from class org.apache.turbine.services.BaseService |
|---|
getConfiguration, getName, getProperties, getServiceBroker, setName, setServiceBroker |
| Methods inherited from class org.apache.turbine.services.BaseInitable |
|---|
getInit, getInitableBroker, setInit, setInitableBroker |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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, setInitableBroker, shutdown |
| Constructor Detail |
|---|
public TurbineNamingService()
| Method Detail |
|---|
public void init()
throws InitializationException
init in interface Initableinit in class TurbineBaseServiceInitializationException - Initialization of this
class was not successful.public javax.naming.Context getContext(java.lang.String contextName)
getContext in interface NamingServicecontextName - The name of the context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||