diff options
Diffstat (limited to 'bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions')
12 files changed, 0 insertions, 662 deletions
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractClientFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractClientFragment.java deleted file mode 100644 index 8ec196271..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractClientFragment.java +++ /dev/null @@ -1,86 +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.extensions; - -import org.eclipse.wst.command.internal.env.core.fragment.CommandFactoryFragment; -import org.eclipse.wst.common.environment.Environment; -import org.eclipse.wst.ws.internal.provisional.wsrt.IContext; -import org.eclipse.wst.ws.internal.provisional.wsrt.ISelection; -import org.eclipse.wst.ws.internal.provisional.wsrt.IWebServiceClient; - -public abstract class AbstractClientFragment extends CommandFactoryFragment -{ - protected IWebServiceClient webServiceClient_; - protected Environment environment_; - protected IContext context_; - protected ISelection selection_; - protected String project_; - protected String module_; - protected String earProject_; - protected String ear_; - - public AbstractClientFragment() - { - } - - protected AbstractClientFragment( AbstractClientFragment fragment ) - { - super( fragment ); - - webServiceClient_ = fragment.webServiceClient_; - environment_ = fragment.environment_; - context_ = fragment.context_; - selection_ = fragment.selection_; - module_ = fragment.module_; - ear_ = fragment.ear_; - } - - public void setWebService( IWebServiceClient webService ) - { - webServiceClient_ = webService; - } - - public void setEnvironment( Environment environment ) - { - environment_ = environment; - } - - public void setContext( IContext context ) - { - context_ = context; - } - - public void setSelection( ISelection selection ) - { - selection_ = selection; - } - - public void setProject( String project) - { - project_ = project; - } - - public void setModule( String module ) - { - module_ = module; - } - - public void setEarProject(String earProject) - { - earProject_ = earProject; - } - - public void setEar( String ear ) - { - ear_ = ear; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractServiceFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractServiceFragment.java deleted file mode 100644 index 2b904aca7..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AbstractServiceFragment.java +++ /dev/null @@ -1,86 +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.extensions; - -import org.eclipse.wst.command.internal.env.core.fragment.CommandFactoryFragment; -import org.eclipse.wst.common.environment.Environment; -import org.eclipse.wst.ws.internal.provisional.wsrt.IContext; -import org.eclipse.wst.ws.internal.provisional.wsrt.ISelection; -import org.eclipse.wst.ws.internal.provisional.wsrt.IWebService; - -public abstract class AbstractServiceFragment extends CommandFactoryFragment -{ - protected IWebService webService_; - protected Environment environment_; - protected IContext context_; - protected ISelection selection_; - protected String project_; - protected String module_; - protected String earProject_; - protected String ear_; - - public AbstractServiceFragment() - { - } - - protected AbstractServiceFragment( AbstractServiceFragment fragment ) - { - super( fragment ); - - webService_ = fragment.webService_; - environment_ = fragment.environment_; - context_ = fragment.context_; - selection_ = fragment.selection_; - module_ = fragment.module_; - ear_ = fragment.ear_; - } - - public void setWebService( IWebService webService ) - { - webService_ = webService; - } - - public void setEnvironment( Environment environment ) - { - environment_ = environment; - } - - public void setContext( IContext context ) - { - context_ = context; - } - - public void setSelection( ISelection selection ) - { - selection_ = selection; - } - - public void setProject( String project) - { - project_ = project; - } - - public void setModule( String module ) - { - module_ = module; - } - - public void setEarProject(String earProject) - { - earProject_ = earProject; - } - - public void setEar( String ear ) - { - ear_ = ear; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleClientFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleClientFragment.java deleted file mode 100644 index 406325bd8..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleClientFragment.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.extensions; - -import java.util.Vector; -import org.eclipse.wst.command.internal.provisional.env.core.ICommandFactory; -import org.eclipse.wst.command.internal.provisional.env.core.SimpleCommandFactory; - -public class AssembleClientFragment extends AbstractClientFragment -{ - public AssembleClientFragment() - { - } - - protected AssembleClientFragment( AssembleClientFragment fragment ) - { - super( fragment ); - } - - public Object clone() - { - return new AssembleClientFragment(); - } - - public ICommandFactory getICommandFactory() - { - ICommandFactory factory = null; - - if( webServiceClient_ == null ) - { - factory = new SimpleCommandFactory( new Vector() ); - } - else - { - factory = webServiceClient_.assemble( environment_, context_, selection_, project_, module_, earProject_, ear_ ); - } - - return factory; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleServiceFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleServiceFragment.java deleted file mode 100644 index aaa6a9c7a..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/AssembleServiceFragment.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.extensions; - -import java.util.Vector; -import org.eclipse.wst.command.internal.provisional.env.core.ICommandFactory; -import org.eclipse.wst.command.internal.provisional.env.core.SimpleCommandFactory; - -public class AssembleServiceFragment extends AbstractServiceFragment -{ - public AssembleServiceFragment() - { - } - - protected AssembleServiceFragment( AssembleServiceFragment fragment ) - { - super( fragment ); - } - - public Object clone() - { - return new AssembleServiceFragment(); - } - - public ICommandFactory getICommandFactory() - { - ICommandFactory factory = null; - - if( webService_ == null ) - { - factory = new SimpleCommandFactory( new Vector() ); - } - else - { - factory = webService_.assemble( environment_, context_, selection_, project_, module_, earProject_, ear_ ); - } - - return factory; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployClientFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployClientFragment.java deleted file mode 100644 index 004b6213b..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployClientFragment.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.extensions; - -import java.util.Vector; -import org.eclipse.wst.command.internal.provisional.env.core.ICommandFactory; -import org.eclipse.wst.command.internal.provisional.env.core.SimpleCommandFactory; - -public class DeployClientFragment extends AbstractClientFragment -{ - public DeployClientFragment() - { - } - - protected DeployClientFragment( DeployClientFragment fragment ) - { - super( fragment ); - } - - public Object clone() - { - return new DeployClientFragment(); - } - - public ICommandFactory getICommandFactory() - { - ICommandFactory factory = null; - - if( webServiceClient_ == null ) - { - factory = new SimpleCommandFactory( new Vector() ); - } - else - { - factory = webServiceClient_.deploy( environment_, context_, selection_, project_, module_, earProject_, ear_ ); - } - - return factory; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployServiceFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployServiceFragment.java deleted file mode 100644 index 2b171eae0..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DeployServiceFragment.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.extensions; - -import java.util.Vector; -import org.eclipse.wst.command.internal.provisional.env.core.ICommandFactory; -import org.eclipse.wst.command.internal.provisional.env.core.SimpleCommandFactory; - -public class DeployServiceFragment extends AbstractServiceFragment -{ - public DeployServiceFragment() - { - } - - protected DeployServiceFragment( DeployServiceFragment fragment ) - { - super( fragment ); - } - - public Object clone() - { - return new DeployServiceFragment(); - } - - public ICommandFactory getICommandFactory() - { - ICommandFactory factory = null; - - if( webService_ == null ) - { - factory = new SimpleCommandFactory( new Vector() ); - } - else - { - factory = webService_.deploy( environment_, context_, selection_, project_, module_, earProject_, ear_ ); - } - - return factory; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopClientFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopClientFragment.java deleted file mode 100644 index 78389a419..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopClientFragment.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.extensions; - -import java.util.Vector; -import org.eclipse.wst.command.internal.provisional.env.core.ICommandFactory; -import org.eclipse.wst.command.internal.provisional.env.core.SimpleCommandFactory; - -public class DevelopClientFragment extends AbstractClientFragment -{ - public DevelopClientFragment() - { - } - - protected DevelopClientFragment( DevelopClientFragment fragment ) - { - super( fragment ); - } - - public Object clone() - { - return new DevelopClientFragment(); - } - - public ICommandFactory getICommandFactory() - { - ICommandFactory factory = null; - - if( webServiceClient_ == null ) - { - factory = new SimpleCommandFactory( new Vector() ); - } - else - { - factory = webServiceClient_.develop( environment_, context_, selection_, project_, module_, earProject_, ear_ ); - } - - return factory; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopServiceFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopServiceFragment.java deleted file mode 100644 index 4a5113112..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/DevelopServiceFragment.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.extensions; - -import java.util.Vector; -import org.eclipse.wst.command.internal.provisional.env.core.ICommandFactory; -import org.eclipse.wst.command.internal.provisional.env.core.SimpleCommandFactory; - -public class DevelopServiceFragment extends AbstractServiceFragment -{ - public DevelopServiceFragment() - { - } - - protected DevelopServiceFragment( DevelopServiceFragment fragment ) - { - super( fragment ); - } - - public Object clone() - { - return new DevelopServiceFragment(); - } - - public ICommandFactory getICommandFactory() - { - ICommandFactory factory = null; - - if( webService_ == null ) - { - factory = new SimpleCommandFactory( new Vector() ); - } - else - { - factory = webService_.develop( environment_, context_, selection_, project_, module_, earProject_, ear_ ); - } - - return factory; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallClientFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallClientFragment.java deleted file mode 100644 index 4e6c13a02..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallClientFragment.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.extensions; - -import java.util.Vector; -import org.eclipse.wst.command.internal.provisional.env.core.ICommandFactory; -import org.eclipse.wst.command.internal.provisional.env.core.SimpleCommandFactory; - -public class InstallClientFragment extends AbstractClientFragment -{ - public InstallClientFragment() - { - } - - protected InstallClientFragment( InstallClientFragment fragment ) - { - super( fragment ); - } - - public Object clone() - { - return new InstallClientFragment(); - } - - public ICommandFactory getICommandFactory() - { - ICommandFactory factory = null; - - if( webServiceClient_ == null ) - { - factory = new SimpleCommandFactory( new Vector() ); - } - else - { - factory = webServiceClient_.install( environment_, context_, selection_, project_, module_, earProject_, ear_ ); - } - - return factory; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallServiceFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallServiceFragment.java deleted file mode 100644 index 9b779f436..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/InstallServiceFragment.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.extensions; - -import java.util.Vector; -import org.eclipse.wst.command.internal.provisional.env.core.ICommandFactory; -import org.eclipse.wst.command.internal.provisional.env.core.SimpleCommandFactory; - -public class InstallServiceFragment extends AbstractServiceFragment -{ - public InstallServiceFragment() - { - } - - protected InstallServiceFragment( InstallServiceFragment fragment ) - { - super( fragment ); - } - - public Object clone() - { - return new InstallServiceFragment(); - } - - public ICommandFactory getICommandFactory() - { - ICommandFactory factory = null; - - if( webService_ == null ) - { - factory = new SimpleCommandFactory( new Vector() ); - } - else - { - factory = webService_.install( environment_, context_, selection_, project_, module_, earProject_, ear_ ); - } - - return factory; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunClientFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunClientFragment.java deleted file mode 100644 index d16ddcec3..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunClientFragment.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.extensions; - -import java.util.Vector; -import org.eclipse.wst.command.internal.provisional.env.core.ICommandFactory; -import org.eclipse.wst.command.internal.provisional.env.core.SimpleCommandFactory; - -public class RunClientFragment extends AbstractClientFragment -{ - public RunClientFragment() - { - } - - protected RunClientFragment( RunClientFragment fragment ) - { - super( fragment ); - } - - public Object clone() - { - return new RunClientFragment(); - } - - public ICommandFactory getICommandFactory() - { - ICommandFactory factory = null; - - if( webServiceClient_ == null ) - { - factory = new SimpleCommandFactory( new Vector() ); - } - else - { - factory = webServiceClient_.run( environment_, context_, selection_, project_, module_, earProject_, ear_ ); - } - - return factory; - } -} diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunServiceFragment.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunServiceFragment.java deleted file mode 100644 index 7e46223b1..000000000 --- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/extensions/RunServiceFragment.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.extensions; - -import java.util.Vector; -import org.eclipse.wst.command.internal.provisional.env.core.ICommandFactory; -import org.eclipse.wst.command.internal.provisional.env.core.SimpleCommandFactory; - -public class RunServiceFragment extends AbstractServiceFragment -{ - public RunServiceFragment() - { - } - - protected RunServiceFragment( RunServiceFragment fragment ) - { - super( fragment ); - } - - public Object clone() - { - return new RunServiceFragment(); - } - - public ICommandFactory getICommandFactory() - { - ICommandFactory factory = null; - - if( webService_ == null ) - { - factory = new SimpleCommandFactory( new Vector() ); - } - else - { - factory = webService_.run( environment_, context_, selection_, project_, module_, earProject_, ear_ ); - } - - return factory; - } -} |