KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > ejb3 > dd > ExcludeList


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.ejb3.dd;
8
9 import java.util.ArrayList JavaDoc;
10 import java.util.List JavaDoc;
11
12 import org.jboss.logging.Logger;
13
14 /**
15  * Represents an <exlude-list> element of the ejb-jar.xml deployment descriptor
16  * for the 1.4 schema
17  *
18  * @version <tt>$Revision: 1.1.2.1 $</tt>
19  * @author <a HREF="mailto:bdecoste@jboss.com">William DeCoste</a>
20  */

21 public class ExcludeList
22 {
23    private static final Logger log = Logger.getLogger(ExcludeList.class);
24    
25    private List JavaDoc methods = new ArrayList JavaDoc();
26
27    public List JavaDoc getMethods()
28    {
29       return methods;
30    }
31
32    public void addMethod(Method method)
33    {
34       methods.add(method);
35    }
36
37    public String JavaDoc toString()
38    {
39       StringBuffer JavaDoc sb = new StringBuffer JavaDoc(100);
40       sb.append("[");
41       sb.append("methods=").append(methods);
42       sb.append("]");
43       return sb.toString();
44    }
45 }
46
Popular Tags