KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis > AxisServiceConfigImpl


1 /*
2  * Copyright 2002-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;
17
18 /**
19  * A simple implementation of AxisServiceConfig.
20  *
21  * @author Glen Daniels (gdaniels@apache.org)
22  */

23 public class AxisServiceConfigImpl implements AxisServiceConfig {
24     // fixme: do we realy want these all held in a single string? should we be
25
// splitting this here, or in code that uses the config?
26
private String JavaDoc methods;
27
28     /**
29      * Set the allowed method names.
30      *
31      * @param methods a <code>String</code> containing a list of all allowed
32      * methods
33      */

34     public void setAllowedMethods(String JavaDoc methods)
35     {
36         this.methods = methods;
37     }
38
39     /** Get the allowed method names.
40      *
41      * @return a space-delimited list of method names which may be called
42      * via SOAP.
43      */

44     public String JavaDoc getAllowedMethods() {
45         return methods;
46     }
47 }
48
Popular Tags