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
- Logger instance
- ServiceManager instance
- Context instance
- Parameters instance
- Author:
- Siegfried Goeschl
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.avalon.framework.logger.Logger
org.apache.avalon.framework.context.Context
org.apache.avalon.framework.parameters.Parameters
org.apache.avalon.framework.service.ServiceManager
Methods inherited from interface org.apache.avalon.framework.service.ServiceManager
hasService, lookup, release
-
Method Details
-
getAvalonLogger
org.apache.avalon.framework.logger.Logger getAvalonLogger()- Returns:
- the Logger of the container
-
getServiceManager
org.apache.avalon.framework.service.ServiceManager getServiceManager()- Returns:
- the ServiceManager for the container
-
getParameters
org.apache.avalon.framework.parameters.Parameters getParameters()- Returns:
- the Parameters for the container
-
getContext
org.apache.avalon.framework.context.Context getContext()- Returns:
- the Context for the container
-