KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > avalon > phoenix > interfaces > ExtensionManagerMBean


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.interfaces;
9
10 import java.io.File JavaDoc;
11
12 /**
13  * Management interface to ExtensionManager.
14  *
15  * @phoenix:mx-topic name="ExtensionManager"
16  *
17  * @author <a HREF="mailto:peter at apache.org">Peter Donald</a>
18  * @version $Revision: 1.6 $ $Date: 2002/08/07 02:57:15 $
19  */

20 public interface ExtensionManagerMBean
21 {
22     String JavaDoc ROLE = ExtensionManagerMBean.class.getName();
23
24     /**
25      * Retrieve an array of paths where each
26      * element in array represents a directory
27      * in which the ExtensionManager will look
28      * for Extensions.
29      *
30      * @phoenix:mx-attribute
31      *
32      * @return the list of paths to search in
33      */

34     File JavaDoc[] getPaths();
35
36     /**
37      * Force the ExtensionManager to rescan the paths
38      * to discover new Extensions that have been added
39      * or remove old Extensions that have been removed.
40      *
41      * @phoenix:mx-operation
42      */

43     void rescanPath();
44
45     //Extension[] getExtension();
46
}
47
Popular Tags