KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > avalon > phoenix > components > manager > NoopSystemManager


1 /*
2  * Copyright (C) The Apache Software Foundation. All rights reserved.
3  *
4  * This software is published under the terms of the Apache Software License
5  * version 1.1, a copy of which has been included with this distribution in
6  * the LICENSE.txt file.
7  */

8 package org.apache.avalon.phoenix.components.manager;
9
10 import org.apache.avalon.phoenix.interfaces.ManagerException;
11
12 /**
13  * Null SystemManager.
14  *
15  * @author <a HREF="mailto:colus@isoft.co.kr">Eung-ju Park</a>
16  */

17 public class NoopSystemManager
18     extends AbstractSystemManager
19 {
20     public void start()
21     {
22     }
23
24     public void stop()
25     {
26     }
27
28     public void dispose()
29     {
30     }
31
32     protected Object JavaDoc export( final String JavaDoc name,
33                              final Object JavaDoc object,
34                              final Class JavaDoc[] interfaces )
35         throws ManagerException
36     {
37         return object;
38     }
39
40     protected void unexport( final String JavaDoc name,
41                              final Object JavaDoc exportedObject )
42         throws ManagerException
43     {
44     }
45
46     protected void verifyInterface( final Class JavaDoc clazz )
47         throws ManagerException
48     {
49     }
50 }
51
Popular Tags