Skip to main content
summaryrefslogtreecommitdiffstats
blob: 61f9e53cf5a9a7de1e76cca10f3a97d276fb6a72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*******************************************************************************
 * Copyright (c) 2015 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
 */
package org.eclipse.jst.ws.internal.consumption.ui.common;

import org.eclipse.core.resources.IProject;

/*
 *  Implementing consumers may consume the webServiceOSGISupport extension point, in order to allow OSGi bundles and applications to be supported by the Web Services Wizard.
 *   
 *  Implementing the extension point and this interface will alter the Web Service wizard language from EAR to OSGi when an OSGi supported project is detected. 
 *  Likewise, the value of the OSGi App field will be stored in ServiceOsgiAppProjectName, rather than in ServiceEarProjectName. 
 */

public interface IWebServiceOSGISupportExtension {

	/**
	 * Return the default name of a composite OSGi app, given a bundle
	 * 'projectName', for example, MyWebProj would return MyWebProj.app; this is
	 * similar to DefaultingUtils.getDefaultEARProjectName(...)
	 */
	public String getDefaultOSGIAppProjectName(String projectName);

	/**
	 * Whether or not a given project is an OSGi project that is supported by
	 * this consuming extension.
	 */
	public boolean isSupportedOSGIProject(IProject project);

}

Back to the top