1 package org.apache.fulcrum.yaafi.service.servicemanager;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.avalon.framework.context.Context;
23 import org.apache.avalon.framework.logger.Logger;
24 import org.apache.avalon.framework.parameters.Parameters;
25 import org.apache.avalon.framework.service.ServiceManager;
26
27 /**
28 * Let's try to break the singleton addiction with this service. This
29 * service stores the instance of a service manager and allows access
30 * to this instance and related information such as
31 *
32 * <ul>
33 * <li>Logger instance
34 * <li>ServiceManager instance
35 * <li>Context instance
36 * <li>Parameters instance
37 * </ul>
38 *
39 * @author <a href="mailto:siegfried.goeschl@it20one.at">Siegfried Goeschl</a>
40 */
41
42 public interface ServiceManagerService extends ServiceManager
43 {
44 /**
45 * @return the Logger of the container
46 */
47 Logger getAvalonLogger();
48
49 /**
50 * @return the ServiceManager for the container
51 */
52 ServiceManager getServiceManager();
53
54 /**
55 * @return the Parameters for the container
56 */
57 Parameters getParameters();
58
59 /**
60 * @return the Context for the container
61 */
62 Context getContext();
63 }