diff options
Diffstat (limited to 'bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt')
16 files changed, 0 insertions, 1033 deletions
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebService.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebService.java deleted file mode 100644 index 2e168bb11..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebService.java +++ /dev/null @@ -1,49 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.wst.ws.internal.wsrt; - -import org.eclipse.wst.command.internal.env.core.ICommandFactory; -import org.eclipse.wst.common.environment.IEnvironment; - - -public abstract class AbstractWebService implements IWebService { - - private WebServiceInfo info; - - public AbstractWebService(WebServiceInfo info) { - this.info = info; - } - - - public WebServiceInfo getWebServiceInfo() { - return info; - } - - public abstract ICommandFactory assemble(IEnvironment env, IContext ctx, ISelection sel, - String project, String earProject); - - - public abstract ICommandFactory deploy(IEnvironment env, IContext ctx, ISelection sel, - String project, String earProject); - - - public abstract ICommandFactory develop(IEnvironment env, IContext ctx, ISelection sel, - String project, String earProject); - - - public abstract ICommandFactory install(IEnvironment env, IContext ctx, ISelection sel, - String project, String earProject); - - - public abstract ICommandFactory run(IEnvironment env, IContext ctx, ISelection sel, - String project, String earProject); -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceClient.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceClient.java deleted file mode 100644 index dfca570da..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceClient.java +++ /dev/null @@ -1,50 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.wst.ws.internal.wsrt; - -import org.eclipse.wst.command.internal.env.core.ICommandFactory; -import org.eclipse.wst.common.environment.IEnvironment; - - -public abstract class AbstractWebServiceClient implements IWebServiceClient { - - private WebServiceClientInfo info; - - public AbstractWebServiceClient(WebServiceClientInfo info) { - this.info = info; - } - - - public WebServiceClientInfo getWebServiceClientInfo() { - return info; - } - - public abstract ICommandFactory assemble(IEnvironment env, IContext ctx, ISelection sel, - String project, String earProject); - - - public abstract ICommandFactory deploy(IEnvironment env, IContext ctx, ISelection sel, - String project, String earProject); - - - public abstract ICommandFactory develop(IEnvironment env, IContext ctx, ISelection sel, - String project, String earProject); - - - public abstract ICommandFactory install(IEnvironment env, IContext ctx, ISelection sel, - String project, String earProject); - - - public abstract ICommandFactory run(IEnvironment env, IContext ctx, ISelection sel, - String project, String earProject); -} - diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceRuntime.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceRuntime.java deleted file mode 100644 index c79033e15..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/AbstractWebServiceRuntime.java +++ /dev/null @@ -1,29 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.wst.ws.internal.wsrt; - -import org.eclipse.wst.command.internal.env.core.ICommandFactory; - -public abstract class AbstractWebServiceRuntime implements IWebServiceRuntime { - - public abstract IWebService getWebService(WebServiceInfo info); - /** - */ - public abstract IWebServiceClient getWebServiceClient(WebServiceClientInfo info); - /** - */ - public ICommandFactory announce(IWebService webService) - { - //TODO provide a boiler-plate announce implementation. - return null; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IContext.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IContext.java deleted file mode 100644 index 4e3718f55..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IContext.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.wst.ws.internal.wsrt; - -public interface IContext { - - public boolean getAssemble(); - - public boolean getCheckOutFiles(); - - public boolean getClient(); - - public boolean getCreateFolders(); - - public boolean getDeploy(); - - public boolean getDevelop(); - - public boolean getInstall(); - - public boolean getOverWriteFiles(); - - public boolean getPublish(); - - public boolean getRun(); - - public WebServiceScenario getScenario(); - - public boolean getTest(); - -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/ISelection.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/ISelection.java deleted file mode 100644 index 5893b5a38..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/ISelection.java +++ /dev/null @@ -1,18 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.wst.ws.internal.wsrt; - -public interface ISelection { - - Object[] getSelection(); - -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebService.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebService.java deleted file mode 100644 index 923e61a87..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebService.java +++ /dev/null @@ -1,29 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.ws.internal.wsrt; - - -import org.eclipse.wst.command.internal.env.core.ICommandFactory; -import org.eclipse.wst.common.environment.IEnvironment; - - -public interface IWebService { - - /** - */ - public WebServiceInfo getWebServiceInfo(); - - public ICommandFactory develop(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject); - public ICommandFactory deploy(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject); - public ICommandFactory assemble(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject); - public ICommandFactory install(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject); - public ICommandFactory run(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject); -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceClient.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceClient.java deleted file mode 100644 index 6321ecc2e..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceClient.java +++ /dev/null @@ -1,28 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.ws.internal.wsrt; - -import org.eclipse.wst.command.internal.env.core.ICommandFactory; -import org.eclipse.wst.common.environment.IEnvironment; - -public interface IWebServiceClient { - - /** - */ - public WebServiceClientInfo getWebServiceClientInfo(); - - public ICommandFactory develop(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject); - public ICommandFactory deploy(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject); - public ICommandFactory assemble(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject); - public ICommandFactory install(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject); - public ICommandFactory run(IEnvironment env, IContext ctx, ISelection sel, String project, String earProject); - -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServicePublisher.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServicePublisher.java deleted file mode 100644 index 26dc5e836..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServicePublisher.java +++ /dev/null @@ -1,20 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.ws.internal.wsrt; - -import org.eclipse.wst.command.internal.env.core.ICommandFactory; -import org.eclipse.wst.common.environment.IEnvironment; - -public interface IWebServicePublisher { - - public ICommandFactory publish(IEnvironment env, IWebService ws); - -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceRuntime.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceRuntime.java deleted file mode 100644 index 8f8c2e8bb..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceRuntime.java +++ /dev/null @@ -1,28 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.ws.internal.wsrt; - -import org.eclipse.wst.command.internal.env.core.ICommandFactory; - - -public interface IWebServiceRuntime { - - /** - */ - public IWebService getWebService(WebServiceInfo info); - /** - */ - public IWebServiceClient getWebServiceClient(WebServiceClientInfo info); - /** - */ - public ICommandFactory announce(IWebService webService); - -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceTester.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceTester.java deleted file mode 100644 index 04748ac9e..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/IWebServiceTester.java +++ /dev/null @@ -1,18 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.ws.internal.wsrt; - -import org.eclipse.wst.command.internal.env.core.ICommandFactory; - -public interface IWebServiceTester { - public ICommandFactory generate(TestInfo testInfo); - public ICommandFactory launch(TestInfo testInfo); -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/SimpleContext.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/SimpleContext.java deleted file mode 100644 index 0284b4ace..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/SimpleContext.java +++ /dev/null @@ -1,129 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.wst.ws.internal.wsrt; - - -public class SimpleContext implements IContext { - - boolean develop; - boolean assemble; - boolean deploy; - boolean install; - boolean run; - boolean client; - boolean test; - boolean publish; - - WebServiceScenario scenario; - - boolean overwriteFiles; - boolean createFolders; - boolean checkOutFiles; - - - - - public SimpleContext() - { - super(); - // TODO Auto-generated constructor stub - } - - public SimpleContext(boolean develop, boolean assemble, boolean deploy, boolean install, boolean run, boolean client, boolean test, boolean publish, WebServiceScenario scenario, boolean overwriteFiles, boolean folders, boolean checkOutFiles) { - super(); - this.develop = develop; - this.assemble = assemble; - this.deploy = deploy; - this.install = install; - this.run = run; - this.client = client; - this.test = test; - this.publish = publish; - this.scenario = scenario; - this.overwriteFiles = overwriteFiles; - this.createFolders = folders; - this.checkOutFiles = checkOutFiles; - } - - public boolean getAssemble() { - return assemble; - } - public void setAssemble(boolean assemble) { - this.assemble = assemble; - } - public boolean getCheckOutFiles() { - return checkOutFiles; - } - public void setCheckOutFiles(boolean checkOutFiles) { - this.checkOutFiles = checkOutFiles; - } - public boolean getClient() { - return client; - } - public void setClient(boolean client) { - this.client = client; - } - public boolean getCreateFolders() { - return createFolders; - } - public void setCreateFolders(boolean createFolders) { - this.createFolders = createFolders; - } - public boolean getDeploy() { - return deploy; - } - public void setDeploy(boolean deploy) { - this.deploy = deploy; - } - public boolean getDevelop() { - return develop; - } - public void setDevelop(boolean develop) { - this.develop = develop; - } - public boolean getInstall() { - return install; - } - public void setInstall(boolean install) { - this.install = install; - } - public boolean getOverWriteFiles() { - return overwriteFiles; - } - public void setOverWriteFiles(boolean overwriteFiles) { - this.overwriteFiles = overwriteFiles; - } - public boolean getPublish() { - return publish; - } - public void setPublish(boolean publish) { - this.publish = publish; - } - public boolean getRun() { - return run; - } - public void setRun(boolean run) { - this.run = run; - } - public WebServiceScenario getScenario() { - return scenario; - } - public void setScenario(WebServiceScenario scenario) { - this.scenario = scenario; - } - public boolean getTest() { - return test; - } - public void setTest(boolean test) { - this.test = test; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/TestInfo.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/TestInfo.java deleted file mode 100644 index 79d02e105..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/TestInfo.java +++ /dev/null @@ -1,265 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.wst.ws.internal.wsrt; - -import java.util.List; - -import org.eclipse.wst.command.internal.env.core.selection.BooleanSelection; -import org.eclipse.wst.server.core.IServer; -/** - * This holds info that comes from user input or some calculations that - * which might be useful to any test extenders - */ - -public class TestInfo { - private String jspFolder; - private String generationProject; - private String serviceProject; - private String proxyBean; - private String setEndpointMethod; - private String clientProject; - private String clientModule; - private boolean clientNeedEAR; - private String clientEARProject; - private String clientEARModule; - private BooleanSelection[] methods; - private String serviceServerTypeID; - private String clientServerTypeID; - private IServer serviceExistingServer; - private IServer clientExistingServer; - private List endpoints; - private String wsdlServiceURL; - private boolean externalBrowser; - - /** - * This is the folder the user has chosen to generate any jsps - * @param jspFolder - */ - public void setJspFolder(String jspFolder){ - this.jspFolder = jspFolder; - } - - public String getJspFolder(){ - return jspFolder; - } - - /** - * This is the project the user has chosen to generate artifacts to - * @param generationProject - */ - public void setGenerationProject(String generationProject){ - this.generationProject = generationProject; - } - - public String getGenerationProject(){ - return generationProject; - } - - /** - * The proxy bean was generated by us this is the name of it - * @param proxyBean - */ - public void setProxyBean(String proxyBean){ - this.proxyBean = proxyBean; - } - - public String getProxyBean(){ - return proxyBean; - } - - /** - * This is the SetEndpointMethod - * @param - */ - public void setSetEndpointMethod(String setEndpointMethod){ - this.setEndpointMethod = setEndpointMethod; - } - - public String getSetEndpointMethod(){ - return setEndpointMethod; - } - - /** - * The clientProject contains the client artifacts including the - * generated proxy bean - * @param clientProject String - */ - public void setClientProject(String clientProject){ - this.clientProject = clientProject; - } - - public String getClientProject(){ - return clientProject; - } - - /** - * The clientModule contains the client artifacts including the - * module - * @param clientProject String - */ - public void setClientModule(String clientModule){ - this.clientModule = clientModule; - } - - public String getClientModule(){ - return clientModule; - } - - /** - * These are methods on the proxybean the user has checked ones - * they want included in the test client - * @param methods - */ - public void setMethods(BooleanSelection[] methods){ - this.methods = methods; - } - - public BooleanSelection[] getMethods(){ - return methods; - } - - /** - * If the command needs a server this is the chosen - * client serverID - * @param sampleServerTypeID - */ - public void setServiceServerTypeID(String serviceServerTypeID){ - this.serviceServerTypeID = serviceServerTypeID; - } - - public String getServiceServerTypeID(){ - return serviceServerTypeID; - } - - /** - * If the command needs a server this is the chosen - * client serverID - * @param sampleServerTypeID - */ - public void setClientServerTypeID(String clientServerTypeID){ - this.clientServerTypeID = clientServerTypeID; - } - - public String getClientServerTypeID(){ - return clientServerTypeID; - } - - /** - * This is the IServer if required - * @param sampleExistingServer - */ - public void setServiceExistingServer(IServer serviceExistingServer){ - this.serviceExistingServer = serviceExistingServer; - } - - public IServer getServiceExistingServer(){ - return serviceExistingServer; - } - - /** - * This is the String if required - * @param clientEARProject - */ - public void setClientEARProject(String clientEARProject){ - this.clientEARProject = clientEARProject; - } - - public String getClientEARProject(){ - return clientEARProject; - } - - - /** - * This is the String if required - * @param clientEARProject - */ - public void setClientEARModule(String clientEARModule){ - this.clientEARModule = clientEARModule; - } - - public String getClientEARModule(){ - return clientEARModule; - } - - /** - * This is the IServer if required - * @param sampleExistingServer - */ - public void setClientExistingServer(IServer clientExistingServer){ - this.clientExistingServer = clientExistingServer; - } - - public IServer getClientExistingServer(){ - return clientExistingServer; - } - - /** - * This is the endpoints if monitor service is enabled - * @param endpoints - */ - public void setEndpoint(List endpoints){ - this.endpoints = endpoints; - } - public List getEndpoint(){ - return endpoints; - } - - /** - * This is the project that should be used when dealing with - * wsdl - * @param serviceProject - */ - public void setServiceProject(String serviceProject){ - this.serviceProject = serviceProject; - } - - public String getServiceProject(){ - return serviceProject; - } - - /** - * WSDL URL - */ - public void setWsdlServiceURL(String wsdlServiceURL){ - this.wsdlServiceURL = wsdlServiceURL; - } - - public String getWsdlServiceURL(){ - return wsdlServiceURL; - } - - /** - * clientNeedEAR - */ - public boolean getClientNeedEAR() { - return clientNeedEAR; - } - - public void setClientNeedEAR(boolean clientNeedEAR) { - this.clientNeedEAR = clientNeedEAR; - } - - /** - * external browser - */ - public boolean getExternalBrowser() - { - return externalBrowser; - } - - public void setExternalBrowser(boolean externalBrowser) { - this.externalBrowser = externalBrowser; - } - - - -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceClientInfo.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceClientInfo.java deleted file mode 100644 index 1b3996e80..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceClientInfo.java +++ /dev/null @@ -1,59 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.wst.ws.internal.wsrt; - -public class WebServiceClientInfo { - - private WebServiceState state; - private java.lang.String serverFactoryId; - private java.lang.String serverInstanceId; - private java.lang.String webServiceRuntimeId; - private java.lang.String wsdlURL; - private java.lang.String implURL; - - public java.lang.String getImplURL() { - return implURL; - } - public void setImplURL(java.lang.String implURL) { - this.implURL = implURL; - } - public java.lang.String getServerFactoryId() { - return serverFactoryId; - } - public void setServerFactoryId(java.lang.String serverFactoryId) { - this.serverFactoryId = serverFactoryId; - } - public java.lang.String getServerInstanceId() { - return serverInstanceId; - } - public void setServerInstanceId(java.lang.String serverInstanceId) { - this.serverInstanceId = serverInstanceId; - } - public WebServiceState getState() { - return state; - } - public void setState(WebServiceState state) { - this.state = state; - } - public java.lang.String getWebServiceRuntimeId() { - return webServiceRuntimeId; - } - public void setWebServiceRuntimeId(java.lang.String webServiceRuntimeId) { - this.webServiceRuntimeId = webServiceRuntimeId; - } - public java.lang.String getWsdlURL() { - return wsdlURL; - } - public void setWsdlURL(java.lang.String wsdlURL) { - this.wsdlURL = wsdlURL; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceInfo.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceInfo.java deleted file mode 100644 index 6fa1b01b9..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceInfo.java +++ /dev/null @@ -1,97 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2006 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - * yyyymmdd bug Email and other contact information - * -------- -------- ----------------------------------------------------------- - * 20060221 128905 kathy@ca.ibm.com - Kathy Chan - * 20060330 128827 kathy@ca.ibm.com - Kathy Chan - *******************************************************************************/ - -package org.eclipse.wst.ws.internal.wsrt; - -import org.eclipse.wst.ws.internal.common.MergeUtils; - -public class WebServiceInfo { - - private WebServiceState state; - private java.lang.String serverFactoryId; - private java.lang.String serverInstanceId; - private java.lang.String webServiceRuntimeId; - private java.lang.String wsdlURL; - private java.lang.String endPointURL; - private java.lang.String implURL; - private java.lang.String[] implURLs; - - public java.lang.String getEndPointURL() - { - return endPointURL; - } - public void setEndPointURL(java.lang.String endPointURL) - { - this.endPointURL = endPointURL; - } - public java.lang.String getImplURL() - { - return implURL; - } - public void setImplURL(java.lang.String implURL) - { - this.implURL = implURL; - } - public java.lang.String getServerFactoryId() - { - return serverFactoryId; - } - public void setServerFactoryId(java.lang.String serverFactoryId) - { - this.serverFactoryId = serverFactoryId; - } - public java.lang.String getServerInstanceId() - { - return serverInstanceId; - } - public void setServerInstanceId(java.lang.String serverInstanceId) - { - this.serverInstanceId = serverInstanceId; - } - public WebServiceState getState() - { - return state; - } - public void setState(WebServiceState state) - { - this.state = state; - } - public java.lang.String getWebServiceRuntimeId() - { - return webServiceRuntimeId; - } - public void setWebServiceRuntimeId(java.lang.String webServiceRuntimeId) - { - this.webServiceRuntimeId = webServiceRuntimeId; - } - public java.lang.String getWsdlURL() - { - return wsdlURL; - } - public void setWsdlURL(java.lang.String wsdlURL) - { - this.wsdlURL = wsdlURL; - } - public java.lang.String[] getImplURLs() - { - return implURLs; - } - public void setImplURLs(java.lang.String[] implURLs) - { - this.implURLs = implURLs; - MergeUtils.storeMergeModels(implURLs); - } - -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceScenario.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceScenario.java deleted file mode 100644 index 0eccf1dd5..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceScenario.java +++ /dev/null @@ -1,83 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2006 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - * yyyymmdd bug Email and other contact information - * -------- -------- ----------------------------------------------------------- - * 20060324 116750 rsinha@ca.ibm.com - Rupam Kuehner - *******************************************************************************/ -package org.eclipse.wst.ws.internal.wsrt; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.AbstractEnumerator; - - -public final class WebServiceScenario extends AbstractEnumerator -{ - - public static final int BOTTOMUP = 0; - public static final int TOPDOWN = 1; - public static final int CLIENT = 2; - - public static final WebServiceScenario BOTTOMUP_LITERAL = new WebServiceScenario(BOTTOMUP, "BOTTOMUP"); - public static final WebServiceScenario TOPDOWN_LITERAL = new WebServiceScenario(TOPDOWN, "TOPDOWN"); - public static final WebServiceScenario CLIENT_LITERAL = new WebServiceScenario(CLIENT, "CLIENT"); - - - private static final WebServiceScenario[] VALUES_ARRAY = - new WebServiceScenario[] - { - BOTTOMUP_LITERAL, - TOPDOWN_LITERAL, - CLIENT_LITERAL, - }; - - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - - public static WebServiceScenario get(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - WebServiceScenario result = VALUES_ARRAY[i]; - if (result.toString().equals(name)) - { - return result; - } - } - return null; - } - - - public static WebServiceScenario get(int value) - { - switch (value) - { - case BOTTOMUP: return BOTTOMUP_LITERAL; - case TOPDOWN: return TOPDOWN_LITERAL; - case CLIENT: return CLIENT_LITERAL; - } - return null; - } - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private WebServiceScenario(int value, String name) - { - super(value, name); - } - - -} //WebServiceScenario diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceState.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceState.java deleted file mode 100644 index cf20c0d69..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceState.java +++ /dev/null @@ -1,91 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.ws.internal.wsrt; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; -import org.eclipse.emf.common.util.AbstractEnumerator; - - -public final class WebServiceState extends AbstractEnumerator -{ - - public static final int UNKNOWN = 0; - public static final int DEVELOPED = 1; - public static final int ASSEMBLED = 2; - public static final int DEPLOYED = 3; - public static final int INSTALLED = 4; - public static final int RUNNING = 5; - - - public static final WebServiceState UNKNOWN_LITERAL = new WebServiceState(UNKNOWN, "UNKNOWN"); - public static final WebServiceState DEVELOPED_LITERAL = new WebServiceState(DEVELOPED, "DEVELOPED"); - public static final WebServiceState ASSEMBLED_LITERAL = new WebServiceState(ASSEMBLED, "ASSEMBLED"); - public static final WebServiceState DEPLOYED_LITERAL = new WebServiceState(DEPLOYED, "DEPLOYED"); - public static final WebServiceState INSTALLED_LITERAL = new WebServiceState(INSTALLED, "INSTALLED"); - public static final WebServiceState RUNNING_LITERAL = new WebServiceState(RUNNING, "RUNNING"); - - private static final WebServiceState[] VALUES_ARRAY = - new WebServiceState[] - { - UNKNOWN_LITERAL, - DEVELOPED_LITERAL, - ASSEMBLED_LITERAL, - DEPLOYED_LITERAL, - INSTALLED_LITERAL, - RUNNING_LITERAL, - }; - - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - - public static WebServiceState get(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - WebServiceState result = VALUES_ARRAY[i]; - if (result.toString().equals(name)) - { - return result; - } - } - return null; - } - - - public static WebServiceState get(int value) - { - switch (value) - { - case UNKNOWN: return UNKNOWN_LITERAL; - case DEVELOPED: return DEVELOPED_LITERAL; - case ASSEMBLED: return ASSEMBLED_LITERAL; - case DEPLOYED: return DEPLOYED_LITERAL; - case INSTALLED: return INSTALLED_LITERAL; - case RUNNING: return RUNNING_LITERAL; - } - return null; - } - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private WebServiceState(int value, String name) - { - super(value, name); - } - -} //WebServiceState - |