Enhancement on Project Activity #11690

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/ws-task-executor-widget@167319 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-05-04 10:23:04 +00:00
parent 44e796f63f
commit 8c115ce3a1
6 changed files with 11 additions and 11 deletions

View File

@ -84,7 +84,7 @@
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>workspace-task-executor-library</artifactId>
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
<version>[0.0.1-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
</dependency>
<!-- <dependency> -->

View File

@ -18,7 +18,7 @@ public class WsTaskExecutorWidget {
* Create a remote service proxy to talk to the server-side Greeting
* service.
*/
public static final GreetingServiceAsync greetingService = GreetingServiceAsync.Util.getInstance();
public static final WsTaskExecutorWidgetServiceAsync greetingService = WsTaskExecutorWidgetServiceAsync.Util.getInstance();
/**
*

View File

@ -15,7 +15,7 @@ import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
* May 4, 2018
*/
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
public interface WsTaskExecutorWidgetService extends RemoteService {
/**
* Gets the list of scopes for logged user.

View File

@ -17,7 +17,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
* May 4, 2018
*/
public interface GreetingServiceAsync {
public interface WsTaskExecutorWidgetServiceAsync {
/**
@ -28,18 +28,18 @@ public interface GreetingServiceAsync {
*/
public static final class Util
{
private static GreetingServiceAsync instance;
private static WsTaskExecutorWidgetServiceAsync instance;
/**
* Gets the single instance of Util.
*
* @return single instance of Util
*/
public static final GreetingServiceAsync getInstance()
public static final WsTaskExecutorWidgetServiceAsync getInstance()
{
if ( instance == null )
{
instance = (GreetingServiceAsync) GWT.create( GreetingService.class );
instance = (WsTaskExecutorWidgetServiceAsync) GWT.create( WsTaskExecutorWidgetService.class );
}
return instance;
}

View File

@ -2,7 +2,7 @@ package org.gcube.portlets.widgets.wstaskexecutor.server;
import java.util.List;
import org.gcube.portlets.widgets.wstaskexecutor.client.GreetingService;
import org.gcube.portlets.widgets.wstaskexecutor.client.WsTaskExecutorWidgetService;
import org.gcube.portlets.widgets.wstaskexecutor.shared.GcubeScope;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
@ -11,8 +11,8 @@ import com.google.gwt.user.server.rpc.RemoteServiceServlet;
* The server side implementation of the RPC service.
*/
@SuppressWarnings("serial")
public class GreetingServiceImpl extends RemoteServiceServlet implements
GreetingService {
public class WsTaskExecutorWidgetServiceImpl extends RemoteServiceServlet implements
WsTaskExecutorWidgetService {
/* (non-Javadoc)
* @see org.gcube.portlets.widgets.wstaskexecutor.client.GreetingService#getListOfScopesForLoggedUser()

View File

@ -8,7 +8,7 @@
<!-- Servlets -->
<servlet>
<servlet-name>greetServlet</servlet-name>
<servlet-class>org.gcube.portlets.widgets.wstaskexecutor.server.GreetingServiceImpl</servlet-class>
<servlet-class>org.gcube.portlets.widgets.wstaskexecutor.server.WsTaskExecutorWidgetServiceImpl</servlet-class>
</servlet>
<servlet-mapping>