org.apache.fulcrum.servicemanager
Interface ServiceManagerService

All Superinterfaces:
org.apache.avalon.framework.service.ServiceManager
All Known Implementing Classes:
ServiceManagerServiceImpl

public interface ServiceManagerService
extends org.apache.avalon.framework.service.ServiceManager

Let's try to break the singleton addiction with this service. This service stores the instance of a service manager and allows access to this instance and related information such as

Author:
Siegfried Goeschl

Method Summary
 org.apache.avalon.framework.configuration.Configuration getConfiguration()
           
 org.apache.avalon.framework.context.Context getContext()
           
 org.apache.avalon.framework.logger.Logger getLogger()
           
 org.apache.avalon.framework.parameters.Parameters getParameters()
           
 org.apache.avalon.framework.service.ServiceManager getServiceManager()
           
 
Methods inherited from interface org.apache.avalon.framework.service.ServiceManager
hasService, lookup, release
 

Method Detail

getLogger

public org.apache.avalon.framework.logger.Logger getLogger()
Returns:
the Logger of this service

getServiceManager

public org.apache.avalon.framework.service.ServiceManager getServiceManager()
Returns:
the ServiceManager for the container

getParameters

public org.apache.avalon.framework.parameters.Parameters getParameters()
Returns:
the Parameters for the container

getContext

public org.apache.avalon.framework.context.Context getContext()
Returns:
the Context for the container

getConfiguration

public org.apache.avalon.framework.configuration.Configuration getConfiguration()
Returns:
the Configuration for this service


Copyright © 2008 The Apache Software Foundation. All Rights Reserved.