Revision 892b82f3
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.webapp/src/main/java/eu/etaxonomy/taxeditor/webapp/CdmServer.java | ||
---|---|---|
34 | 34 |
import org.eclipse.jetty.webapp.WebAppContext; |
35 | 35 |
import org.osgi.framework.Bundle; |
36 | 36 |
|
37 |
import eu.etaxonomy.taxeditor.workbench.datasource.ICDMServerError;
|
|
37 |
import eu.etaxonomy.taxeditor.workbench.datasource.ICdmServerError;
|
|
38 | 38 |
|
39 | 39 |
/** |
40 | 40 |
* (Singleton) Server instance which manages a compatible cdmlib-webapp-war. |
... | ... | |
160 | 160 |
throw new CdmEmbeddedServerException("Could not find a free TCP/IP port to start embedded Jetty HTTP Server on"); |
161 | 161 |
} |
162 | 162 |
|
163 |
public void start(ICDMServerError cdmServerError) throws CdmEmbeddedServerException {
|
|
163 |
public void start(ICdmServerError cdmServerError) throws CdmEmbeddedServerException {
|
|
164 | 164 |
start(true, cdmServerError); |
165 | 165 |
} |
166 | 166 |
|
167 |
public void start(boolean wait, final ICDMServerError remotingLoginDialogLocal) throws CdmEmbeddedServerException {
|
|
167 |
public void start(boolean wait, final ICdmServerError remotingLoginDialogLocal) throws CdmEmbeddedServerException {
|
|
168 | 168 |
|
169 | 169 |
if(server == null) { |
170 | 170 |
throw new CdmEmbeddedServerException("Server is already disposed"); |
Also available in: Unified diff
rename ICdmServerError