KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > ejtools > deploy > model > J2eeApplicationObjectImpl


1 package net.sourceforge.ejtools.deploy.model;
2
3 import javax.enterprise.deploy.model.DDBean JavaDoc;
4 import javax.enterprise.deploy.model.DeployableObject JavaDoc;
5 import javax.enterprise.deploy.model.J2eeApplicationObject JavaDoc;
6 import javax.enterprise.deploy.model.XpathListener JavaDoc;
7 import javax.enterprise.deploy.shared.ModuleType JavaDoc;
8
9 /**
10  * J2eeApplicationObject is an interface that represents a J2EE application (EAR); it maintains a DeployableObject for each module in the archive.
11  *
12  * @author letiembl
13  * @created 28 mai 2002
14  */

15 public class J2eeApplicationObjectImpl extends DeployableObjectImpl implements J2eeApplicationObject JavaDoc
16 {
17
18    /**
19     * Register a listener for changes in XPath that are related to this deployableObject.
20     *
21     * @param type The type of deployment descriptor to query.
22     * @param xpath The xpath to listen for.
23     * @param xpl The listener.
24     */

25    public void addXpathListener(ModuleType JavaDoc type, String JavaDoc xpath, XpathListener JavaDoc xpl) { }
26
27
28    /**
29     * Return a list of DDBean based upon an XPath; all deployment descriptors of the specified type are searched.
30     *
31     * @param type The type of deployment descriptor to query.
32     * @param xpath An XPath string referring to a location in the deployment descriptor
33     * @return The list of DDBeans or 'null' of there are no matches.
34     */

35    public DDBean JavaDoc[] getChildBean(ModuleType JavaDoc type, String JavaDoc xpath)
36    {
37       return null;
38    }
39
40
41    /**
42     * Return the DeployableObject of the specified URI designator.
43     *
44     * @param uri Describes where to get the module from.
45     * @return the DeployableObject describing the j2ee module at this uri or 'null' if there is not match.
46     */

47    public DeployableObject JavaDoc getDeployableObject(String JavaDoc uri)
48    {
49       return null;
50    }
51
52
53    /**
54     * Return the all DeployableObjects of the specified type.
55     *
56     * @param type The type of module to return.
57     * @return the list of DeployableObjects describing the j2ee module at this uri or 'null' if there are no matches.
58     */

59    public DeployableObject JavaDoc[] getDeployableObjects(ModuleType JavaDoc type)
60    {
61       return null;
62    }
63
64
65    /**
66     * Return the all DeployableObjects in this application.
67     *
68     * @return the DeployableObject describing the j2ee module at this uri or 'null' if there are no matches.
69     */

70    public DeployableObject JavaDoc[] getDeployableObjects()
71    {
72       return null;
73    }
74
75
76    /**
77     * Return the list of URIs of the designated module type.
78     *
79     * @param type The type of module to return.
80     * @return the Uris of the contained modules or 'null' if there are no matches.
81     */

82    public String JavaDoc[] getModuleUris(ModuleType JavaDoc type)
83    {
84       return null;
85    }
86
87
88    /**
89     * Return the list of URIs for all modules in the application.
90     *
91     * @return the Uris of the contained modules or 'null' if there are no matches.
92     */

93    public String JavaDoc[] getModuleUris()
94    {
95       return null;
96    }
97
98
99    /**
100     * Return the text value from the XPath; search only the deployment descriptors of the specified type.
101     *
102     * @param type The type of deployment descriptor to query.
103     * @param xpath An xpath string referring to a location in the deployment descriptor
104     * @return The text values of this xpath or 'null' if there are no matches.
105     */

106    public String JavaDoc[] getText(ModuleType JavaDoc type, String JavaDoc xpath)
107    {
108       return null;
109    }
110
111
112    /**
113     * Unregister the listener for an XPath.
114     *
115     * @param type The type of deployment descriptor to query.
116     * @param xpath he XPath to listen for
117     * @param xpl The listener
118     */

119    public void removeXpathListener(ModuleType JavaDoc type, String JavaDoc xpath, XpathListener JavaDoc xpl) { }
120
121 }
122
123
Popular Tags