KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > enterprise > deploy > spi > JBoss30Target


1 package org.jboss.enterprise.deploy.spi;
2
3 import javax.enterprise.deploy.spi.*;
4
5 /**
6  * A Target interface represents a single logical core server of one instance of a J2EE platform product. It is a designator for a server and the implied
7  * location to copy a configured application for the server to access.
8  *
9  * @author letiembl
10  * @created 15 avril 2002
11  */

12 public class JBoss30Target implements Target
13 {
14    /** Description of the Field */
15    protected String JavaDoc description = null;
16    /** Description of the Field */
17    protected String JavaDoc name = null;
18
19
20    /**
21     * Constructor for the JBoss30Target object
22     *
23     * @param name Description of Parameter
24     */

25    public JBoss30Target(String JavaDoc name)
26    {
27       this.name = name;
28    }
29
30
31    /**
32     * Constructor for the JBoss30Target object
33     *
34     * @param name Description of Parameter
35     * @param description Description of Parameter
36     */

37    public JBoss30Target(String JavaDoc name, String JavaDoc description)
38    {
39       this.name = name;
40       this.description = description;
41    }
42
43
44    /**
45     * Retrieve other descriptive information about the target.
46     *
47     * @return The value of description attribute
48     */

49    public String JavaDoc getDescription()
50    {
51       return description;
52    }
53
54
55    /**
56     * Retrieve the name of the target server.
57     *
58     * @return The value of name attribute
59     */

60    public String JavaDoc getName()
61    {
62       return name;
63    }
64
65 }
66
67
Popular Tags