KickJava   Java API By Example, From Geeks To Geeks.

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


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 docs/licenses/apache-1.1.txt file.
7  */

8 package org.jboss.axis;
9
10 /**
11  * A simple implementation of AxisServiceConfig.
12  *
13  * @author Glen Daniels (gdaniels@apache.org)
14  */

15 public class AxisServiceConfigImpl implements AxisServiceConfig
16 {
17    private String JavaDoc methods;
18
19    /**
20     * Set the allowed method names.
21     */

22    public void setAllowedMethods(String JavaDoc methods)
23    {
24       this.methods = methods;
25    }
26
27    /**
28     * Get the allowed method names.
29     *
30     * @return a space-delimited list of method names which may be called
31     * via SOAP.
32     */

33    public String JavaDoc getAllowedMethods()
34    {
35       return methods;
36    }
37 }
38
Popular Tags