KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis > management > jmx > DeploymentQueryMBean


1 /*
2  * Copyright 2003,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.axis.management.jmx;
17
18 import org.apache.axis.AxisFault;
19 import org.apache.axis.ConfigurationException;
20 import org.apache.axis.deployment.wsdd.WSDDGlobalConfiguration;
21 import org.apache.axis.deployment.wsdd.WSDDHandler;
22 import org.apache.axis.deployment.wsdd.WSDDService;
23 import org.apache.axis.deployment.wsdd.WSDDTransport;
24
25 public interface DeploymentQueryMBean {
26     /**
27      * get the global configuration
28      *
29      * @return
30      */

31     public WSDDGlobalConfiguration findGlobalConfig();
32
33     /**
34      * find the handler
35      *
36      * @param qname
37      * @return
38      */

39     public WSDDHandler findHandler(String JavaDoc qname);
40
41     /**
42      * return all handlers
43      *
44      * @return
45      */

46     public WSDDHandler[] findHandlers();
47
48     /**
49      * find the service
50      *
51      * @param qname
52      * @return
53      */

54     public WSDDService findService(String JavaDoc qname);
55
56     /**
57      * return all services
58      *
59      * @return
60      */

61     public WSDDService[] findServices();
62
63     /**
64      * find the transport
65      *
66      * @param qname
67      * @return
68      */

69     public WSDDTransport findTransport(String JavaDoc qname);
70
71     /**
72      * return all transports
73      *
74      * @return
75      */

76     public WSDDTransport[] findTransports();
77
78     /**
79      * List all registered services
80      *
81      * @return string array
82      * @throws org.apache.axis.AxisFault ConfigurationException
83      */

84     public String JavaDoc[] listServices() throws AxisFault, ConfigurationException;
85 }
86
Popular Tags