|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.turbine.services.BaseServiceBroker org.apache.turbine.services.TurbineServices
This is a singleton utility class that acts as a Services broker.
Field Summary |
Fields inherited from class org.apache.turbine.services.BaseServiceBroker |
applicationRoot, CLASSNAME_SUFFIX, configuration, mapping, SERVICE_PREFIX, serviceObjects, services |
Constructor Summary | |
protected |
TurbineServices()
This constructor is protected to force clients to use getInstance() to access this class. |
Method Summary | |
static ServiceManager |
getInstance()
The method through which this class is accessed as a broker. |
static void |
setManager(ServiceManager manager)
The method through which to change the default manager. |
Methods inherited from class org.apache.turbine.services.BaseServiceBroker |
getApplicationRoot, getConfiguration, getConfiguration, getService, getServiceInstance, getServiceNames, getServiceNames, getServiceObject, init, initMapping, initService, initServices, initServices, isRegistered, setApplicationRoot, setConfiguration, setServiceObject, shutdownService, shutdownServices |
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.ServiceManager |
getConfiguration, init, setApplicationRoot, setConfiguration |
Methods inherited from interface org.apache.turbine.services.ServiceBroker |
getConfiguration, getService, initService, isRegistered, shutdownService, shutdownServices |
Constructor Detail |
protected TurbineServices()
Method Detail |
public static ServiceManager getInstance()
public static void setManager(ServiceManager manager)
manager
- a new service manager.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |