KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > genericserver > GSDeploymentManager


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.j2ee.genericserver;
21
22 import java.io.File JavaDoc;
23 import java.io.InputStream JavaDoc;
24 import javax.enterprise.deploy.model.DeployableObject JavaDoc;
25 import javax.enterprise.deploy.shared.DConfigBeanVersionType JavaDoc;
26 import javax.enterprise.deploy.shared.ModuleType JavaDoc;
27 import javax.enterprise.deploy.spi.DeploymentConfiguration JavaDoc;
28 import javax.enterprise.deploy.spi.DeploymentManager JavaDoc;
29 import javax.enterprise.deploy.spi.Target JavaDoc;
30 import javax.enterprise.deploy.spi.TargetModuleID JavaDoc;
31 import javax.enterprise.deploy.spi.exceptions.DConfigBeanVersionUnsupportedException JavaDoc;
32 import javax.enterprise.deploy.spi.exceptions.InvalidModuleException JavaDoc;
33 import javax.enterprise.deploy.spi.exceptions.TargetException JavaDoc;
34 import javax.enterprise.deploy.spi.status.ProgressObject JavaDoc;
35
36
37 /**
38  *
39  * @author Martin Adamek
40  */

41 public class GSDeploymentManager implements DeploymentManager JavaDoc {
42     
43     public ProgressObject JavaDoc distribute(Target JavaDoc[] target, File JavaDoc file, File JavaDoc file2) throws IllegalStateException JavaDoc {
44         return null;
45     }
46
47     public DeploymentConfiguration JavaDoc createConfiguration(DeployableObject JavaDoc deployableObject) throws InvalidModuleException JavaDoc {
48         return null;
49     }
50
51     public ProgressObject JavaDoc redeploy(TargetModuleID JavaDoc[] targetModuleID, InputStream JavaDoc inputStream, InputStream JavaDoc inputStream2) throws UnsupportedOperationException JavaDoc, IllegalStateException JavaDoc {
52         return null;
53     }
54
55     public ProgressObject JavaDoc distribute(Target JavaDoc[] target, InputStream JavaDoc inputStream, InputStream JavaDoc inputStream2) throws IllegalStateException JavaDoc {
56         return null;
57     }
58
59     public ProgressObject JavaDoc undeploy(TargetModuleID JavaDoc[] targetModuleID) throws IllegalStateException JavaDoc {
60         return null;
61     }
62
63     public ProgressObject JavaDoc stop(TargetModuleID JavaDoc[] targetModuleID) throws IllegalStateException JavaDoc {
64         return null;
65     }
66
67     public ProgressObject JavaDoc start(TargetModuleID JavaDoc[] targetModuleID) throws IllegalStateException JavaDoc {
68         return null;
69     }
70
71     public void setLocale(java.util.Locale JavaDoc locale) throws UnsupportedOperationException JavaDoc {
72     }
73
74     public boolean isLocaleSupported(java.util.Locale JavaDoc locale) {
75         return false;
76     }
77
78     public TargetModuleID JavaDoc[] getAvailableModules(ModuleType JavaDoc moduleType, Target JavaDoc[] target) throws TargetException JavaDoc, IllegalStateException JavaDoc {
79         return null;
80     }
81
82     public TargetModuleID JavaDoc[] getNonRunningModules(ModuleType JavaDoc moduleType, Target JavaDoc[] target) throws TargetException JavaDoc, IllegalStateException JavaDoc {
83         return null;
84     }
85
86     public TargetModuleID JavaDoc[] getRunningModules(ModuleType JavaDoc moduleType, Target JavaDoc[] target) throws TargetException JavaDoc, IllegalStateException JavaDoc {
87         return null;
88     }
89
90     public ProgressObject JavaDoc redeploy(TargetModuleID JavaDoc[] targetModuleID, File JavaDoc file, File JavaDoc file2) throws UnsupportedOperationException JavaDoc, IllegalStateException JavaDoc {
91         return null;
92     }
93
94     public void setDConfigBeanVersion(DConfigBeanVersionType JavaDoc dConfigBeanVersionType) throws DConfigBeanVersionUnsupportedException JavaDoc {
95     }
96
97     public boolean isDConfigBeanVersionSupported(DConfigBeanVersionType JavaDoc dConfigBeanVersionType) {
98         return false;
99     }
100
101     public void release() {
102     }
103
104     public boolean isRedeploySupported() {
105         return false;
106     }
107
108     public java.util.Locale JavaDoc getCurrentLocale() {
109         return null;
110     }
111
112     public DConfigBeanVersionType JavaDoc getDConfigBeanVersion() {
113         return null;
114     }
115
116     public java.util.Locale JavaDoc getDefaultLocale() {
117         return null;
118     }
119
120     public java.util.Locale JavaDoc[] getSupportedLocales() {
121         return null;
122     }
123
124     public Target JavaDoc[] getTargets() throws IllegalStateException JavaDoc {
125         return null;
126     }
127
128     public ProgressObject JavaDoc distribute(Target JavaDoc[] target, ModuleType JavaDoc moduleType, InputStream JavaDoc inputStream, InputStream JavaDoc inputStream0) throws IllegalStateException JavaDoc {
129         return null;
130     }
131     
132 }
133
Popular Tags