KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > admin > wsmgmt > config > spi > ConfigProvider


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23 package com.sun.enterprise.admin.wsmgmt.config.spi;
24
25 import java.util.List JavaDoc;
26
27 /**
28  * This is the mechanism to access web service management configuration.
29  */

30 public interface ConfigProvider {
31
32     /**
33      * Returns the unique identifier for this RepositoryProvider object.
34      *
35      * @return fully qualified class name of this RepositoryProvider
36      */

37     public String JavaDoc getProviderID();
38
39     /**
40      * Returns the list of Web Service Endpoint config in this application
41      *
42      * @param appName Name of the application
43      *
44      * @return the array of WebServiceConfig
45      */

46     public WebServiceConfig[] getWebserviceConfigs(String JavaDoc appId);
47
48     /**
49      * Returns the list of Web Service Endpoint config in this application
50      *
51      * @param appName Name of the application
52      *
53      * @return the WebServiceConfig
54      */

55     public WebServiceConfig getWebServiceConfig(String JavaDoc appId, String JavaDoc modId,
56         boolean isStandalone, String JavaDoc name);
57
58     /**
59      * Returns the list of Web Service Endpoint config in this application
60      *
61      * @param fqn Fully Qualified name of the endpoint
62      *
63      * @return the WebServiceConfig
64      */

65     public WebServiceConfig getWebServiceConfig(String JavaDoc fqn);
66
67     /**
68      * Returns a list of application or stand alone module ids
69      * currently configured for web service management.
70      *
71      * @return managed web service application ids
72      */

73     public List JavaDoc getManagedWebserviceApplicationIds();
74 }
75
Popular Tags